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 supported1 Subscribers
Add a CodeTriage badge to msw
Help out
- Issues
- Fix badges
- 'Cannot read properties of undefined (reading 'url')' when multiple browser tabs are open
- feat: add HttpResponse.html()
- test: add type test for HttpResponse.error
- Unable to use HttpResponse.error() with TypeScript
- The cookies object recevied in the handlers varies depending on the placement of the handler within the `setupServer` function.
- Issue with response resolver types after recent upgrade
- The currently registered Service Worker has been generated by a different version of MSW (undefined)
- First-class Server-Sent Events (SSE) API
- feat(HttpResponse): support explicitly empty response body via null generic type
- Docs
- TypeScript not yet supported