Skip to content

Commit 7b873ae

Browse files
committed
fix test
Signed-off-by: Lyon Lu <[email protected]>
1 parent ee58846 commit 7b873ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

script/test/jest-setup.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
import '@testing-library/jest-dom';
2+
3+
import { TextEncoder, TextDecoder } from 'util';
4+
5+
Object.assign(global, { TextDecoder, TextEncoder });

0 commit comments

Comments
 (0)