This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Two different jest globals fixes documented in two places under https://mswjs.io/docs/ #2032
Closed
4 tasks done
Labels
bug
Something isn't working
needs:triage
Issues that have not been investigated yet.
scope:node
Related to MSW running in Node
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
The text was updated successfully, but these errors were encountered: