Skip to content

Commit

Permalink
Merge pull request #588 from Shopify/test-coverage
Browse files Browse the repository at this point in the history
Adjusts how test coverage gets collected
  • Loading branch information
tsov authored Oct 11, 2023
2 parents 004dc94 + a4315e5 commit ef42455
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 ef42455

Please sign in to comment.