Skip to content

Commit 312a331

Browse files
committed
docs(readme): update
1 parent 874ed1a commit 312a331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ it("example", async () => {
7171
};
7272

7373
fetchMock.get("/user", () =>
74-
mockClient.requestMock("/user", "GET", { metadata })
74+
mockClient.requestMock("/user", "GET", { metadata }) // add mock via mock-mcp
7575
);
7676

7777
const result = await fetch("/user");
7878
const data = await result.json();
7979
expect(data).toEqual({ id: 1, name: "Jane" });
80-
}); // 10 minute timeout for AI interaction
80+
}, 10 * 60 * 1000); // 10 minute timeout for AI interaction
8181
```
8282

8383
4. **Run with MCP enabled.** Prompt your AI client to run the persistent test command and provide mocks through the tools.

0 commit comments

Comments
 (0)