Skip to content

Commit 25aec77

Browse files
author
Benjamin Coe
committed
fix: revert defaulting to empty file-coverage report, this caused too many issues
1 parent e03cd48 commit 25aec77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/instrumenters/noop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function NOOP () {
88
if (extracted) {
99
this.fileCoverage = new FileCoverage(extracted.coverageData)
1010
} else {
11-
this.fileCoverage = new FileCoverage(filename)
11+
this.fileCoverage = null
1212
}
1313
return code
1414
},

0 commit comments

Comments
 (0)