diff --git a/jest.config.js b/jest.config.js index ac214a72..2f2e4d3e 100644 --- a/jest.config.js +++ b/jest.config.js @@ -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/(.*)': '/src/shared/$1',