Skip to content

Commit

Permalink
fix(reporter): print browser stats immediately after it finishes
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtajina committed Aug 25, 2013
1 parent 8647266 commit 65202d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/reporters/Dots.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ var DotsReporter = function(formatError, reportSlow) {
this.write(this._dotsCount ? '.' : '.\n');
};

this.onRunComplete = function(browsers, results) {
this.writeCommonMsg(browsers.map(this.renderBrowser).join('\n') + '\n');
this.onBrowserComplete = function(browser) {
this.writeCommonMsg(this.renderBrowser(browser) + '\n');
};

this.onRunComplete = function(browsers, results) {
if (browsers.length > 1 && !results.disconnected && !results.error) {
if (!results.failed) {
this.write(this.TOTAL_SUCCESS, results.success);
Expand Down

0 comments on commit 65202d8

Please sign in to comment.