We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9619218 commit 52c4ce7Copy full SHA for 52c4ce7
jest.config.mjs
@@ -14,7 +14,7 @@ export default {
14
clearMocks: true,
15
16
// Indicates whether the coverage information should be collected while executing the test
17
- collectCoverage: false,
+ collectCoverage: true,
18
19
// An array of glob patterns indicating a set of files for which coverage information should be collected
20
// collectCoverageFrom: undefined,
@@ -23,9 +23,10 @@ export default {
23
coverageDirectory: "coverage",
24
25
// An array of regexp pattern strings used to skip coverage collection
26
- // coveragePathIgnorePatterns: [
27
- // "\\\\node_modules\\\\"
28
- // ],
+ coveragePathIgnorePatterns: [
+ "node_modules",
+ "tests",
29
+ ],
30
31
// Indicates which provider should be used to instrument code for coverage
32
coverageProvider: "v8",
0 commit comments