Skip to content

Commit ef42455

Browse files
authored
Merge pull request #588 from Shopify/test-coverage
Adjusts how test coverage gets collected
2 parents 004dc94 + a4315e5 commit ef42455

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

jest.config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ module.exports = {
88
},
99
moduleFileExtensions: ['js', 'ts'],
1010
collectCoverageFrom: [
11-
'src/**/*.js',
12-
'!src/**/*/index.js',
13-
'!src/index.js',
14-
'!src/index.legacy.js',
11+
'src/**/*.{js,ts}',
12+
'!src/**/*/index.{js,ts}',
13+
'!src/index.{js,ts}',
1514
],
1615
moduleNameMapper: {
1716
'shared/(.*)': '<rootDir>/src/shared/$1',

0 commit comments

Comments
 (0)