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
- feat: support GraphQL subscriptions
- Bypassed requests miss cookie headers with axios + axios-cookiejar-support
- Vitest tests fail with error "Cannot find package 'graphql' imported" in v2.4.0
- MSW in fallback mode not intercepting and mocking image binary request
- feat!: use `URLPattern` for request matching
- Using the wildcard token to try to match random ports doesn't work if preceded by a colon
- List "graphql" as a peer dependency
- React Native: server.use does not add request handlers
- MSW fails to start Mock because worker update() fails.
- Combine persistent and one-time responses in one handler
- Docs
- TypeScript not yet supported