[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

docs: remove mentions of deleted examples from docs

Vladimir Sheremet (May 23, 2024, 8:53 AM +0200) ee27e487 a4ec5831

-6
-4
docs/guide/mocking.md
··· 410 410 411 411 > Configuring the server with `onUnhandleRequest: 'error'` ensures that an error is thrown whenever there is a request that does not have a corresponding request handler. 412 412 413 - ### Example 414 - 415 - 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). 416 - 417 413 ### More 418 414 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). 419 415
-2
docs/guide/snapshot.md
··· 123 123 }) 124 124 ``` 125 125 126 - You can learn more in the [`examples/image-snapshot`](https://github.com/vitest-dev/vitest/blob/main/examples/image-snapshot) example. 127 - 128 126 ## Custom Serializer 129 127 130 128 You can add your own logic to alter how your snapshots are serialized. Like Jest, Vitest has default serializers for built-in JavaScript types, HTML elements, ImmutableJS and for React elements.