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
- Always 404 / Not Intercepted on homepage set CRA
- Vitest tests fail with error "Cannot find package 'graphql' imported" in v2.4.0
- fix: cannot read properties of undefined (reading 'url')
- Disabling "navigate" bypass causes TypeError: "Uncaught (in promise) TypeError: Failed to construct 'Request': Cannot construct a Request with a RequestInit whose mode member is set as 'navigate'."
- MSW in fallback mode not intercepting and mocking image binary request
- chore: update pnpm to v9.5.0
- chore: migrate eslint to flat config
- 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
- Docs
- TypeScript not yet supported