Skip to content

Commit c671f08

Browse files
committed
fix(test): provide testEnvironment for jest
1 parent a78b301 commit c671f08

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

jest.config.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
module.exports = {
2-
transformIgnorePatterns: [
3-
'/node_modules/',
4-
'<rootDir>/dist/',
5-
],
6-
watchPathIgnorePatterns: [
7-
'<rootDir>/test/js',
8-
],
2+
transformIgnorePatterns: ['/node_modules/', '<rootDir>/dist/'],
3+
watchPathIgnorePatterns: ['<rootDir>/test/js'],
4+
testEnvironment: 'node',
95
};

0 commit comments

Comments
 (0)