Skip to content

Commit

Permalink
reverting test coverage so it ignores index files and colors.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewrmarshall committed Feb 1, 2024
1 parent 7cca0b9 commit 55c3be3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ module.exports = {
collectCoverage: true,

// An array of glob patterns indicating a set of files for which coverage information should be collected
collectCoverageFrom: ['./src/**/*.ts'],
collectCoverageFrom: [
'./src/**/*.ts',
'!./src/**/*index.ts',
'!./src/js/colors/colors.ts',
],

// The directory where Jest should output its coverage files
coverageDirectory: 'coverage',
Expand Down

0 comments on commit 55c3be3

Please sign in to comment.