fix: test envs
This commit is contained in:
parent
ac857ba3fd
commit
01e1f7491c
@ -25,6 +25,6 @@ export default {
|
|||||||
'^.+\\.[tj]s$': ['@swc/jest', swcJestConfig],
|
'^.+\\.[tj]s$': ['@swc/jest', swcJestConfig],
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'js', 'html'],
|
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'jsdom',
|
||||||
coverageDirectory: '../../coverage/libs/utils',
|
coverageDirectory: '../../coverage/libs/utils',
|
||||||
};
|
};
|
||||||
|
@ -25,6 +25,6 @@ export default {
|
|||||||
'^.+\\.[tj]s$': ['@swc/jest', swcJestConfig],
|
'^.+\\.[tj]s$': ['@swc/jest', swcJestConfig],
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'js', 'html'],
|
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'jsdom',
|
||||||
coverageDirectory: '../../coverage/libs/wallet',
|
coverageDirectory: '../../coverage/libs/wallet',
|
||||||
};
|
};
|
||||||
|
@ -1 +0,0 @@
|
|||||||
import '@testing-library/jest-dom';
|
|
Loading…
Reference in New Issue
Block a user