docs: remove mentions of deleted examples from docs

This commit is contained in:
Vladimir Sheremet 2024-05-23 08:53:58 +02:00
parent a4ec583191
commit ee27e48733
No known key found for this signature in database
GPG Key ID: 182FA0724B9B2267
2 changed files with 0 additions and 6 deletions

View File

@ -410,10 +410,6 @@ afterEach(() => server.resetHandlers())
> 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.
### Example
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).

View File

@ -123,8 +123,6 @@ test('image snapshot', () => {
})
```
You can learn more in the [`examples/image-snapshot`](https://github.com/vitest-dev/vitest/blob/main/examples/image-snapshot) example.
## Custom Serializer
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.