We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 874ed1a commit 312a331Copy full SHA for 312a331
README.md
@@ -71,13 +71,13 @@ it("example", async () => {
71
};
72
73
fetchMock.get("/user", () =>
74
- mockClient.requestMock("/user", "GET", { metadata })
+ mockClient.requestMock("/user", "GET", { metadata }) // add mock via mock-mcp
75
);
76
77
const result = await fetch("/user");
78
const data = await result.json();
79
expect(data).toEqual({ id: 1, name: "Jane" });
80
-}); // 10 minute timeout for AI interaction
+}, 10 * 60 * 1000); // 10 minute timeout for AI interaction
81
```
82
83
4. **Run with MCP enabled.** Prompt your AI client to run the persistent test command and provide mocks through the tools.
0 commit comments