Skip to content

Commit 57c8740

Browse files
authored
docs: Update mocking.md (#7185)
1 parent d262e05 commit 57c8740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/mocking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ afterAll(() => server.close())
479479
afterEach(() => server.resetHandlers())
480480
```
481481

482-
> 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.
482+
> 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.
483483
484484
### More
485485
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).

0 commit comments

Comments
 (0)