Skip to content

Commit 721a38b

Browse files
committed
Fix jest
1 parent bb825d7 commit 721a38b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jest.setup.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import { TextEncoder } from 'util';
2+
3+
global.TextEncoder = TextEncoder;
14
import "@testing-library/jest-dom";
25

36
// Polyfill "window.fetch" used in the React component.

0 commit comments

Comments
 (0)