msw
https://github.com/mswjs/msw
TypeScript
Seamless REST/GraphQL API mocking library for browser and Node.js.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported0 Subscribers
Add a CodeTriage badge to msw
Help out
- Issues
- MSW fails to intercept requests in React Native runtime
- Transform WebSocket `connection` on the `ws.link` level
- Not intercepting socket.io if it gets imported before MSW
- Browser websockets can't be re-used within vitest test file.
- MSW stops handling requests after 5 mins in page hidden state
- Support custom WebSocket clients
- MSW + React + Vite: Failed to HMR Update if MSW active
- Following React Native docs does not work and Property 'TransformStream' doesn't exist on React Native (runtime)
- feat: support GraphQL subscriptions
- Bypassed requests miss cookie headers with axios + axios-cookiejar-support
- Docs
- TypeScript not yet supported