docs(mock): fix typo (#30346)

Fixes https://github.com/microsoft/playwright/issues/30326
This commit is contained in:
Max Schmitt 2024-04-11 20:37:44 +02:00 committed by GitHub
parent 1ab40d8860
commit 2b5488902a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,7 +109,7 @@ Sometimes, it is essential to make an API request, but the response needs to be
allow for reproducible testing. In that case, instead of mocking the request, one
can perform the request and fulfill it with the modified response.
In the example below we intercept the call to the fruit API and add a new fruit called 'playwright', to the data. We then go to the url and assert that this data is there:
In the example below we intercept the call to the fruit API and add a new fruit called 'Loquat', to the data. We then go to the url and assert that this data is there:
```js