Skip to content

Commit

Permalink
docs: remove mentions of deleted examples from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed May 23, 2024
1 parent a4ec583 commit ee27e48
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions docs/guide/mocking.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
2 changes: 0 additions & 2 deletions docs/guide/snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ee27e48

Please sign in to comment.