Skip to content

docs: udpate msw example #1378

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

Merged

Conversation

MatanBobi
Copy link
Member

Followup PR for #1327

This is a cherry pick of @kettanaito's and @timdeschryver's commits with the last fix needed to push this update.

Copy link

netlify bot commented Apr 4, 2024

Deploy Preview for testing-library ready!

Name Link
🔨 Latest commit 002e8aa
🔍 Latest deploy log https://app.netlify.com/sites/testing-library/deploys/660ebe0cf429c8000783be09
😎 Deploy Preview https://deploy-preview-1378--testing-library.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

declaratively mock API communication in your tests instead of stubbing
`window.fetch`, or relying on third-party adapters.

MSW requires Node.js 18 or later.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a reminder that we can remove this once v10 is released.

@timdeschryver timdeschryver merged commit 4e321ba into testing-library:main Apr 5, 2024
4 checks passed
@kettanaito
Copy link
Contributor

🚀 Thanks for updating this!

@MatanBobi
Copy link
Member Author

@all-contributors please add @kettanaito for docs :)

Copy link
Contributor

@MatanBobi

I've put up a pull request to add @kettanaito! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants