Files
conference-room-booking-system/frontend/jest.setup.js

9 lines
229 B
JavaScript
Raw Normal View History

const { TextEncoder, TextDecoder } = require("util");
if (typeof global.TextEncoder === "undefined") {
global.TextEncoder = TextEncoder;
}
if (typeof global.TextDecoder === "undefined") {
global.TextDecoder = TextDecoder;
}