We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cecd72 commit 8d05ec3Copy full SHA for 8d05ec3
1 file changed
src/setupTests.ts
@@ -5,9 +5,8 @@
5
import '@testing-library/jest-dom';
6
7
// Polyfills for Node.js environment
8
-import { TextEncoder, TextDecoder } from 'util';
+import { TextEncoder } from 'util';
9
global.TextEncoder = TextEncoder;
10
-global.TextDecoder = TextDecoder;
11
12
// Mock fetch for Jest environment
13
global.fetch = jest.fn();
0 commit comments