Skip to content

Commit

Permalink
collect coverage only from compiled files
Browse files Browse the repository at this point in the history
  • Loading branch information
ori-moisis committed Jan 31, 2021
1 parent 3951041 commit 854cd21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jest.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ module.exports = {
collectCoverage: true,
coverageReporters: ['json', 'lcov', 'text', 'clover', 'json-summary'],
collectCoverageFrom: [
'**/*.js',
'**/*.jsx',
'**/dist/**/*.js',
'**/dist/**/*.jsx',
'!**/node_modules/**',
'!*.config.js',
'!coverage/**',
Expand Down

0 comments on commit 854cd21

Please sign in to comment.