msw
msw copied to clipboard
Seamless REST/GraphQL API mocking library for browser and Node.js.
### Prerequisites - [X] I confirm my issue is not in the [opened issues](https://github.com/mswjs/msw/issues) - [X] I confirm the [Frequently Asked Questions](https://mswjs.io/docs/faq) didn't contain the answer to my issue ###...
### Prerequisites - [X] I confirm my issue is not in the [opened issues](https://github.com/mswjs/msw/issues) - [X] I confirm the [Frequently Asked Questions](https://mswjs.io/docs/faq) didn't contain the answer to my issue ###...
### Scope Improves an existing behavior ### Compatibility - [x] This is a breaking change ### Feature description Remove deprecated `MockedRequest.body` and cleanup after few releases with deprecation. https://github.com/mswjs/msw/issues/1302#issuecomment-1173722395
## Describe the bug Cypress 7 recently released an interesting feature called component test runner. It allows to mount a component and run it in isolation, rather than having to...
The `graphql` package throws errors if it's not treated as a [singleton dependency](https://github.com/graphql/graphql-js/blob/94234c8ce0a33cd8d884d0fced3d7d107db8f8aa/src/jsutils/instanceOf.js#L32). It's recommended for libraries to install it as a peer dependency (see: https://github.com/graphql/graphql-js/issues/594#issuecomment-1189850052). To allow MSW to...
### Prerequisites - [X] I confirm my issue is not in the [opened issues](https://github.com/mswjs/msw/issues) - [X] I confirm the [Frequently Asked Questions](https://mswjs.io/docs/faq) didn't contain the answer to my issue ###...
## Describe the bug When a server ist configured to listen with `onUnhandledRequest: "error"`, the test where this error occurs does not fail.  Based on this discussion: https://github.com/mswjs/msw/discussions/943 ##...
### Prerequisites - [X] I confirm my issue is not in the [opened issues](https://github.com/mswjs/msw/issues) - [X] I confirm the [Frequently Asked Questions](https://mswjs.io/docs/faq) didn't contain the answer to my issue ###...
### Prerequisites - [X] I confirm my issue is not in the [opened issues](https://github.com/mswjs/msw/issues) - [X] I confirm the [Frequently Asked Questions](https://mswjs.io/docs/faq) didn't contain the answer to my issue ###...