Skip to content

Commit

Permalink
fix(testrunner): fix bad test counter (#3947)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Feb 7, 2019
1 parent addd7f4 commit 9216056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/testrunner/Reporter.js
Expand Up @@ -42,6 +42,7 @@ class Reporter {
}

_onStarted(runnableTests) {
this._testCounter = 0;
this._timestamp = Date.now();
const allTests = this._runner.tests();
if (allTests.length === runnableTests.length)
Expand Down Expand Up @@ -180,7 +181,6 @@ class Reporter {

_onTestStarted(test, workerId) {
this._workersState.set(workerId, {test, isRunning: true});
this._testCounter = 0;
}

_onTestFinished(test, workerId) {
Expand Down

0 comments on commit 9216056

Please sign in to comment.