diff --git a/jest.setup.js b/jest.setup.js index 1a9ba9dd03..2a6228244c 100644 --- a/jest.setup.js +++ b/jest.setup.js @@ -1 +1,3 @@ // A jest.setup.js file is used to run setup code before your tests are executed. +global.TextEncoder = require('util').TextEncoder; +global.TextDecoder = require('util').TextDecoder;