Skip to content

Commit

Permalink
Merge pull request #3782 from ampproject/fix/ignore-test-utils
Browse files Browse the repository at this point in the history
Ignore test utils from code coverage
  • Loading branch information
westonruter committed Nov 19, 2019
2 parents f157602 + 8dd6145 commit c900d84
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/js/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ module.exports = {
'<rootDir>/.git',
'<rootDir>/node_modules',
'<rootDir>/build',
'<rootDir>/tests/shared',
],
coveragePathIgnorePatterns: [
'<rootDir>/node_modules',
'<rootDir>/build/',
'<rootDir>/tests/shared',
],
coveragePathIgnorePatterns: [ '/node_modules/', '<rootDir>/build/' ],
coverageReporters: [ 'lcov' ],
coverageDirectory: '<rootDir>/build/logs',
reporters: [ [ 'jest-silent-reporter', { useDots: true } ] ],
Expand Down

0 comments on commit c900d84

Please sign in to comment.