Replies: 1 comment 1 reply
-
Hi, @jg210. That's a great suggestion. I didn't realize we were suggesting different things across different pages. We are already reusing the same Jest setup recommendations across Migration guidelines and the FAQ pages. I will add it to the Runbook page as well. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Prerequisites
Environment check
msw
versionNode.js version
N/A
Reproduction repository
N/A
Reproduction steps
The online docs offer two different ways of solving problem of jest removing globals for fetch, Headers, Request, Response, FormData, Blob etc.:
https://mswjs.io/docs/faq#requestresponsetextencoder-is-not-defined-jest
https://mswjs.io/docs/runbook#fixing-environment
Current behavior
Two ways to solve one problem, documented in two places. I didn't find the runbook link at first.
Expected behavior
Beta Was this translation helpful? Give feedback.
All reactions