Don't count skipped tests when calculating Fiber facts (#9136)
Dan Abramov committed
Mar 8, 2017 at 21:03 UTC
266481dacf49dc73651cd5a33062cccfdeded84a
1 file changed
+1
-1
scripts/fiber/record-tests
+1
-1
@@ -151,7 +151,7 @@ function recordTests(maxWorkers, trackFacts) {
151
);
152
153
if (trackFacts) {
154
- const fact = runResults.numPassedTests + '/' + runResults.numTotalTests;
154
+ const fact = runResults.numPassedTests + '/' + (runResults.numPassedTests + runResults.numFailedTests);
155
// TODO: Shelling out here is silly.
156
child_process.spawnSync(
157
process.execPath,