From 145fe8370e598160220ac7f93e5b1a5777070c49 Mon Sep 17 00:00:00 2001 From: omsuneri <142336291+omsuneri@users.noreply.github.com> Date: Sat, 14 Dec 2024 22:31:20 +0530 Subject: [PATCH] Update jest.setup.js --- jest.setup.js | 2 ++ 1 file changed, 2 insertions(+) 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;