Skip to content

Commit

Permalink
added back aggragate collector
Browse files Browse the repository at this point in the history
Reviewed By: cpojer

Differential Revision: D2758014

fb-gh-sync-id: 681b5a0b75d3252a7dffacfb68d0885c7148b6e4
  • Loading branch information
Alexander Juarez authored and facebook-github-bot-1 committed Dec 15, 2015
1 parent cec3914 commit f94b8af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/IstanbulTestReporter.js
Expand Up @@ -18,6 +18,7 @@ class IstanbulTestReporter extends DefaultTestReporter {
super.onTestResult(config, testResult, aggregatedResults);

if (config.collectCoverage && testResult.coverage) {
collector.add(testResult.coverage);
if (!testCollectors[testResult.testFilePath]) {
testCollectors[testResult.testFilePath] = new istanbul.Collector();
}
Expand Down

0 comments on commit f94b8af

Please sign in to comment.