Skip to content

Commit

Permalink
XPower UI: Safe{WALLET} app test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kârūn The Rich committed Nov 22, 2023
1 parent 3ade70b commit e9d820d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
setupFiles: [
'./test/env-vars.ts',
'./test/$.extend.ts',
'./test/text-encoder.ts',
],
testPathIgnorePatterns: ['\.js$'],
};
2 changes: 2 additions & 0 deletions test/text-encoder.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { TextEncoder, TextDecoder } from 'util';
Object.assign(global, { TextEncoder, TextDecoder });

0 comments on commit e9d820d

Please sign in to comment.