diff --git a/docs/guide/mocking.md b/docs/guide/mocking.md index c8d7038b6..46eeb5f7b 100644 --- a/docs/guide/mocking.md +++ b/docs/guide/mocking.md @@ -285,7 +285,7 @@ afterEach(() => server.resetHandlers()) ### Example -We have a full working example which uses MSW: [React Testing with MSW](https://github.com/vitest-dev/vitest/tree/main/test/react-testing-lib-msw). +We have a full working example which uses MSW: [React Testing with MSW](https://github.com/vitest-dev/vitest/tree/main/examples/react-testing-lib-msw). ### More There is much more to MSW. You can access cookies and query parameters, define mock error responses, and much more! To see all you can do with MSW, read [their documentation](https://mswjs.io/docs/recipes).