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
- test(graphql): add TypedDocumentNode inference tests
- MSW fails to start Mock because worker update() fails.
- Combine persistent and one-time responses in one handler
- Support URLPattern as request predicate
- ci: run ci build related tests in parallel
- Custom request predicate function
- chore: add more browsers to playwright config
- MSW does not mock APIS in react-router-6 loader in the first load
- Chrome reloads infinitely when `serviceWorker.options.scope` is set
- feat: support cross-process interception via `setupRemoteServer`
- Docs
- TypeScript not yet supported