From 57c8740b27770013ecf9cff12c3d63cdbbfdb41f Mon Sep 17 00:00:00 2001 From: Lucas Wiener Date: Tue, 7 Jan 2025 01:15:52 +0100 Subject: [PATCH] docs: Update mocking.md (#7185) --- docs/guide/mocking.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/mocking.md b/docs/guide/mocking.md index d74cbf74f..b3a48fb3b 100644 --- a/docs/guide/mocking.md +++ b/docs/guide/mocking.md @@ -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). -- 2.51.2