-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Description
Hello,
since the last version 3.0.2, my mocks and some overall imports in test time broke with the following error message:
ReferenceError: TextEncoder is not defined
ReferenceError: TextDecoder is not defined


I could workaround it by setting it as a global variable in my jest setup:
global.TextEncoder = require('util').TextEncoder;
global.TextDecoder = require('util').TextDecoder;
But I think it would be great if the library can handle it on its own.
paulohp, carlosrincon17, andrian-vangelov, NicholasNoise, rahul-rzp and 4 more
Metadata
Metadata
Assignees
Labels
No labels