Skip to content

Commit

Permalink
test: Excluded test directory from the coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mnasyrov committed Feb 21, 2024
1 parent 977748a commit a94de13
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ export default {
preset: 'ts-jest',
testEnvironment: 'jsdom',
roots: ['src'],
collectCoverageFrom: ['src/**/{!(_public|index|testUtils),}.{ts,tsx}'],
collectCoverageFrom: [
'src/**/{!(_public|index|testUtils),}.{ts,tsx}',
'!**/test/**',
],
};

0 comments on commit a94de13

Please sign in to comment.