Skip to content

Commit

Permalink
fix: Exclude spec.ts from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
neet committed Jan 16, 2023
1 parent c547991 commit 9d0ef17
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@ module.exports = {
setupFilesAfterEnv: ['<rootDir>/test-utils/jest-setup-after-env.ts'],
},
],
collectCoverageFrom: ['src/**/*.{ts,tsx}'],
// coveragePathIgnorePatterns: ['.*\\.d\\.ts'],
// coverageDirectory: '<rootDir>/coverage',
collectCoverageFrom: ['src/**/*.ts', '!src/**/*.spec.ts'],
};

0 comments on commit 9d0ef17

Please sign in to comment.