We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcba681 commit db11603Copy full SHA for db11603
jest.config.js
@@ -1,8 +1,4 @@
1
const path = require("path");
2
-const { TextEncoder, TextDecoder } = require("util");
3
-
4
-global.TextEncoder = TextEncoder;
5
-global.TextDecoder = TextDecoder;
6
7
module.exports = {
8
rootDir: ".",
jest.setup.js
@@ -0,0 +1,5 @@
+// jest.setup.js
+const { TextEncoder, TextDecoder } = require("util");
+
+global.TextEncoder = TextEncoder;
+global.TextDecoder = TextDecoder;
0 commit comments