Skip to content

Commit

Permalink
Improve jest configuration by ignoring some package.json used in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Oct 3, 2022
1 parent 38024a2 commit 3f89ef0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ module.exports = {
},
},
coveragePathIgnorePatterns: ['<rootDir>/src/main/webapp/app/common/primary/applicationlistener/WindowApplicationListener'],
modulePathIgnorePatterns: ['<rootDir>/src/main/resources/', '<rootDir>/target/classes/generator/'],
modulePathIgnorePatterns: [
'<rootDir>/src/main/resources/',
'<rootDir>/src/test/resources/',
'<rootDir>/target/classes/generator/',
'<rootDir>/target/test-classes/',
],
testResultsProcessor: 'jest-sonar-reporter',
};

0 comments on commit 3f89ef0

Please sign in to comment.