Skip to content

Commit

Permalink
normalize ignore patterns in jest
Browse files Browse the repository at this point in the history
  • Loading branch information
andreineculau committed Nov 21, 2019
1 parent cb32cb2 commit 6bb0ac6
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions repo/jest.config.sf.js
Expand Up @@ -6,21 +6,30 @@ let sfConfig = {
collectCoverageFrom: [
'**/lib/**/*.js'
],
coveragePathIgnorePatterns: [
'<rootDir>/node_modules/'
],
coverageReporters: [
'json',
'html',
'lcov',
'text'
],
transformIgnorePatterns: [
'.*/node_modules/.*'
],
notify: false,
testEnvironment: 'node',
testMatch: [
'**/test/**/*.test.js'
],
transform: {}
testPathIgnorePatterns: [
'<rootDir>/node_modules/'
],
transform: {},
transformIgnorePatterns: [
'<rootDir>/node_modules/'
],
watchPathIgnorePatterns: [
'<rootDir>/node_modules/'
]
};

// only add babel-jest transformer if babel-jest is a top-level dependency
Expand Down

0 comments on commit 6bb0ac6

Please sign in to comment.