Skip to content

Commit f94b8af

Browse files
Alexander Juarezfacebook-github-bot-1
authored andcommitted
added back aggragate collector
Reviewed By: cpojer Differential Revision: D2758014 fb-gh-sync-id: 681b5a0b75d3252a7dffacfb68d0885c7148b6e4
1 parent cec3914 commit f94b8af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/IstanbulTestReporter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class IstanbulTestReporter extends DefaultTestReporter {
1818
super.onTestResult(config, testResult, aggregatedResults);
1919

2020
if (config.collectCoverage && testResult.coverage) {
21+
collector.add(testResult.coverage);
2122
if (!testCollectors[testResult.testFilePath]) {
2223
testCollectors[testResult.testFilePath] = new istanbul.Collector();
2324
}

0 commit comments

Comments
 (0)