Skip to content

Commit 00b71b7

Browse files
committed
Add TextDecoder to jest
1 parent 21a3c93 commit 00b71b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/passport/sdk/jest.setup.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { TextEncoder } from 'util';
1+
import { TextEncoder, TextDecoder } from 'util';
22

33
global.TextEncoder = TextEncoder;
4-
4+
global.TextDecoder = TextDecoder;
55
/**
66
* Required for ethers v6
77
* @see https://github.com/ethers-io/ethers.js/issues/4365

0 commit comments

Comments
 (0)