Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit 55c3be3

Browse files
reverting test coverage so it ignores index files and colors.ts
1 parent 7cca0b9 commit 55c3be3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jest.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ module.exports = {
2222
collectCoverage: true,
2323

2424
// An array of glob patterns indicating a set of files for which coverage information should be collected
25-
collectCoverageFrom: ['./src/**/*.ts'],
25+
collectCoverageFrom: [
26+
'./src/**/*.ts',
27+
'!./src/**/*index.ts',
28+
'!./src/js/colors/colors.ts',
29+
],
2630

2731
// The directory where Jest should output its coverage files
2832
coverageDirectory: 'coverage',

0 commit comments

Comments
 (0)