From 25aec778cfa6d79fe71077c96b0dde81e6ec3a1f Mon Sep 17 00:00:00 2001 From: Benjamin Coe Date: Tue, 17 Jan 2017 21:27:24 -0800 Subject: [PATCH] fix: revert defaulting to empty file-coverage report, this caused too many issues --- lib/instrumenters/noop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/instrumenters/noop.js b/lib/instrumenters/noop.js index 8a57b4a20..935b587c0 100644 --- a/lib/instrumenters/noop.js +++ b/lib/instrumenters/noop.js @@ -8,7 +8,7 @@ function NOOP () { if (extracted) { this.fileCoverage = new FileCoverage(extracted.coverageData) } else { - this.fileCoverage = new FileCoverage(filename) + this.fileCoverage = null } return code },