Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing link in Documentation mocking requests #5762

Closed
6 tasks done
rcuching opened this issue May 23, 2024 · 1 comment
Closed
6 tasks done

Missing link in Documentation mocking requests #5762

rcuching opened this issue May 23, 2024 · 1 comment

Comments

@rcuching
Copy link

Describe the bug

https://vitest.dev/guide/mocking.html#requests

Documentation of mocking requests references an example of using recommended MSW which looks like it was removed a number of weeks ago in 959247e

It looks like the justification was that react was just over represented but I wouldnt mind the example being preserved and just relocated into the react directory as additional examples.

Reproduction

N/A. Documentation.

System Info

N/A. Documentation.

Used Package Manager

npm

Validations

@sheremet-va
Copy link
Member

sheremet-va commented May 23, 2024

Fixed in ee27e48

You can find examples in MSW docs: https://mswjs.io/docs/basics/intercepting-requests/

@github-actions github-actions bot locked and limited conversation to collaborators Jun 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants