Skip to content

Commit

Permalink
docs: Update mocking.md (#7185)
Browse files Browse the repository at this point in the history
  • Loading branch information
wnr authored Jan 7, 2025
1 parent d262e05 commit 57c8740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/mocking.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ afterAll(() => server.close())
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.
> Configuring the server with `onUnhandledRequest: 'error'` ensures that an error is thrown whenever there is a request that does not have a corresponding request handler.
### 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

0 comments on commit 57c8740

Please sign in to comment.