-
## Describe the bug
If a link to a custom protocol (i.e. mailto:) is triggered on a page, then the mock service worker stops intercepting requests.
## Environment
- `msw: 0.36.3`
- `chrome: 9…
-
## Describe the bug
In my jest tests, if I call `server.listen()` all of my network requests inside of the test fail with the generic fetch error `TypeError: Network request failed`. These requests s…
-
## Environment
| Name | Version |
| ---- | ------- |
| msw | latest |
| node | 14.6.0 |
| OS | Win10 |
## Request handlers
https://github.com/ljosberinn/personal-react-boiler…
-
Hello!
I've been trying many different ways to set multiple cookies on my responses with no luck.
Some of the tested approaches work on the browser (using`msw` directly), but none work while usi…
-
I am using the create-react-app in this project.
Following the documentation (https://redd.gitbook.io/msw/recipes/response-patching) and through various combinations of attempts to get it working, I …
-
## Describe the bug
My app uses Svelte with Axios to fetch data from a REST API endpoint. I noticed that Axios didn't sometimes wait long enough for the request and it timed out. Now I increased the …
asode updated
3 weeks ago
-
### Please avoid duplicates
- [X] I checked [all open bugs](https://github.com/nock/nock/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and none of them matched my problem.
### Reproducible test cas…
-
I couldn't create a consistent example to reproduce the issue, but sometimes (once to 2-3 runs) the code fails to emit a timeout event when using an invalid URL (e.g. example.test). However, it emits …
-
Hello,
I spent some time migrating from v1 (both msw and the addon) to v2. And it almost worked except for tests (Jest).
A first problem was that the module needed to be tranformed, otherwise th…
-
## Describe the bug
When I set the `credentials` config in `fetch` to `'omit'` that isn't passed along to the `req`.
## Environment
- `msw: 0.0.18`
- `nodejs: 12`
- `npm: 6.14.5`
## To R…