Skip to content

Commit f32a4f9

Browse files
committed
Config Jest to ignore folders
1 parent f1ed51f commit f32a4f9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

jest.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@ module.exports = config = {
1414
compilerOptions.paths,
1515
{ prefix: '<rootDir>/' }
1616
),
17+
modulePathIgnorePatterns: [
18+
'<rootDir>/dist',
19+
'<rootDir>/node_modules',
20+
'<rootDir>/out',
21+
],
1722
transform: {
1823
'^.+\\.(ts|tsx)$': 'ts-jest'
1924
},
2025
testMatch: [
21-
'**/tests/**/*.test.(ts?(x)|js?(x))'
26+
'**/tests/**/*.(spec|test).(ts?(x)|js?(x))',
2227
],
2328
verbose: true,
2429
};

0 commit comments

Comments
 (0)