Skip to content

Commit

Permalink
add collectCoverageForm to track all files for Jest coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jiji14 committed Apr 8, 2024
1 parent 76839de commit 24304f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@ module.exports = {
moduleDirectories: ["node_modules", "src"],
globals: {"__DEV__": false},
collectCoverage: true,
collectCoverageFrom: [
"www/js/**/*.{ts,tsx,js,jsx}",
"!www/js/**/index.{ts,tsx,js,jsx}",
"!www/js/types/**/*.{ts,tsx,js,jsx}",
],
};

0 comments on commit 24304f3

Please sign in to comment.