Skip to content

Commit 4b42518

Browse files
authored
Update jest.setup.ts
1 parent 8d4e338 commit 4b42518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/__helpers__/jest.setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { TextDecoder, TextEncoder } from 'node:util';
22

3-
// Prevent "ReferenceError: TextEncoder is not defined" error
3+
// Prevent "ReferenceError: TextEncoder is not defined" or "ReferenceError: TextDecoder is not defined" errors
44
global.TextEncoder = TextEncoder;
55
global.TextDecoder = TextDecoder;
66

0 commit comments

Comments
 (0)