Skip to content

Commit

Permalink
Collect coverage also from not imported files
Browse files Browse the repository at this point in the history
  • Loading branch information
klis87 committed Feb 23, 2023
1 parent 4ae6c42 commit fa0f964
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ module.exports = {
'/node_modules/',
'<rootDir>/packages/(?:.+?)/lib/',
],
collectCoverageFrom: [
'packages/*/src/**/*.{js,jsx,ts}',
'!**/node_modules/**',
],
};

0 comments on commit fa0f964

Please sign in to comment.