Skip to content

Commit 15ec4c5

Browse files
added modulePathIgnorePatterns to jest.config to make tests work for CR
1 parent 3af5ccb commit 15ec4c5

File tree

2 files changed

+3266
-1583
lines changed

2 files changed

+3266
-1583
lines changed

jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ module.exports = {
2525
// '^@/(.*)$': 'build/src/$1',
2626
vscode: path.join(__dirname, 'vscode.js') // <----- most important line
2727
},
28-
testMatch: ['**/test/**/*.js', '**/?(*.)+(spec|test).js']
28+
testMatch: ['**/test/**/*.js', '**/?(*.)+(spec|test).js'],
29+
modulePathIgnorePatterns: ["node_modules"]
2930
};

0 commit comments

Comments
 (0)