improvement - jest.config - ignore index.ts files
MODIFY
jest.config.js
jest.config.js
@@ -4,7 +4,7 @@ module.exports = {
},
testRegex: '(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$',
coverageDirectory: './coverage/',
- coveragePathIgnorePatterns: ['spec-util.ts$'],
+ coveragePathIgnorePatterns: ['spec-util.ts$', 'index.ts$'],
collectCoverageFrom : ['src/**/*.ts'],
moduleFileExtensions: [
'ts',

improvement - jest.config - ignore index.ts files