ReferenceError: TextEncoder is not defined #2234
-
How to solve the error ReferenceError: TextEncoder is not defined? |
Beta Was this translation helpful? Give feedback.
Answered by
kettanaito
Sep 13, 2024
Replies: 1 comment
-
Hi. Here you go: https://mswjs.io/docs/migrations/1.x-to-2.x#requestresponsetextencoder-is-not-defined-jest You can also use https://github.com/mswjs/jest-fixed-jsdom instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kettanaito
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. Here you go: https://mswjs.io/docs/migrations/1.x-to-2.x#requestresponsetextencoder-is-not-defined-jest
You can also use https://github.com/mswjs/jest-fixed-jsdom instead.