Skip to content

Commit e455d1a

Browse files
author
Gonzalo Diaz
committed
[CONFIG] jest: dist/ directory added to exceptions.
1 parent 0a0a645 commit e455d1a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jest.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,11 @@ const jestConfig = {
159159
testMatch: ['**/?(*.)+(spec|test).js?(x)'],
160160

161161
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
162-
testPathIgnorePatterns: ['/node_modules/', '<rootDir>/coverage'],
162+
testPathIgnorePatterns: [
163+
'/node_modules/',
164+
'<rootDir>/coverage',
165+
'<rootDir>/dist'
166+
],
163167

164168
// The regexp pattern or array of patterns that Jest uses to detect test files
165169
// testRegex: [],

0 commit comments

Comments
 (0)