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!: migrate to `@msw/url`
- fix(define-network): accept RequestHandler arrays
- fix(core): support wildcard ports in url matching
- test: prevent handling in-flight requests after worker was stopped
- test: add regression test for got compression issue -(do not merge)
- Flaky test at `ws.server.connect.browser.test.ts`
- MSW sometimes still handles requests after worker was stopped
- MSW produces 404 error responses for valid mocked requests after you restart the worker in the browser
- MSW emits 2 error events when ClientRequest is destroyed
- feat: use the network source architecture (`defineNetwork`)
- Docs
- TypeScript not yet supported