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
- Vitest isolation breaks setupWorker in firefox
- Two `setupServer()` instances listening at once evaluate every request's handlers twice on Linux — "TypeError: Body is unusable" during handler lookup
- 🔒 Prototype pollution via user-controlled multipart GraphQL `map` paths
- Unhandled QuotaExceededError in CookieStore.persist() can crash request handling
- Visit website with domain, cause Refused to set unsafe header "cookie"
- Interceptors returning null in React native caused by breaking change in msw 2.14.0
- feat: support ws.link connection transform
- feat(sse): invoke `finalize` on response stream end
- Consider `network.pause()` in `NetworkApi`
- [experimental] Pass `NetworkFrameResolutionContext` to `NetworkSource.enable()`
- Docs
- TypeScript not yet supported