fix: test envs

This commit is contained in:
Matthew Russell 2024-03-07 20:03:34 +00:00
parent ac857ba3fd
commit 01e1f7491c
No known key found for this signature in database
3 changed files with 2 additions and 3 deletions

View File

@ -25,6 +25,6 @@ export default {
'^.+\\.[tj]s$': ['@swc/jest', swcJestConfig],
},
moduleFileExtensions: ['ts', 'js', 'html'],
testEnvironment: 'node',
testEnvironment: 'jsdom',
coverageDirectory: '../../coverage/libs/utils',
};

View File

@ -25,6 +25,6 @@ export default {
'^.+\\.[tj]s$': ['@swc/jest', swcJestConfig],
},
moduleFileExtensions: ['ts', 'js', 'html'],
testEnvironment: 'node',
testEnvironment: 'jsdom',
coverageDirectory: '../../coverage/libs/wallet',
};

View File

@ -1 +0,0 @@
import '@testing-library/jest-dom';