mirror of
https://github.com/vitest-dev/vitest.git
synced 2026-02-01 17:36:51 +00:00
docs: remove mentions of deleted examples from docs
This commit is contained in:
parent
a4ec583191
commit
ee27e48733
@ -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).
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user