Skip to content

Commit

Permalink
Adjusts how test coverage gets collected
Browse files Browse the repository at this point in the history
  • Loading branch information
tsov committed Oct 11, 2023
1 parent 004dc94 commit a4315e5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ module.exports = {
},
moduleFileExtensions: ['js', 'ts'],
collectCoverageFrom: [
'src/**/*.js',
'!src/**/*/index.js',
'!src/index.js',
'!src/index.legacy.js',
'src/**/*.{js,ts}',
'!src/**/*/index.{js,ts}',
'!src/index.{js,ts}',
],
moduleNameMapper: {
'shared/(.*)': '<rootDir>/src/shared/$1',
Expand Down

0 comments on commit a4315e5

Please sign in to comment.