Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 4dd55b7

Browse files
committed
Collect coverage also from src folder
1 parent d8808de commit 4dd55b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
collectCoverage: true,
1010

1111
// An array of glob patterns indicating a set of files for which coverage information should be collected
12-
collectCoverageFrom: ["index.js", "src"],
12+
collectCoverageFrom: ["index.js", "src/**"],
1313

1414
// The directory where Jest should output its coverage files
1515
coverageDirectory: "coverage",

0 commit comments

Comments
 (0)