Skip to content

Commit

Permalink
Merge pull request #3776 from pascalgrimaud/jest-config-ignore-other-…
Browse files Browse the repository at this point in the history
…package-json

Improve jest configuration by ignoring some package.json used in tests
  • Loading branch information
pascalgrimaud authored Oct 3, 2022
2 parents a48fb20 + 3f89ef0 commit 818fcdd
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 818fcdd

Please sign in to comment.