Skip to content

Commit

Permalink
show total test cases correctly in growl
Browse files Browse the repository at this point in the history
Signed-off-by: Outsider <outsideris@gmail.com>
  • Loading branch information
outsideris authored and boneskull committed Jan 29, 2019
1 parent c91b325 commit 7fee3a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/browser/growl.js
Expand Up @@ -129,7 +129,7 @@ function display(runner) {
var title;

if (stats.failures) {
_message = stats.failures + ' of ' + runner.total + ' tests failed';
_message = stats.failures + ' of ' + stats.tests + ' tests failed';
message = symbol.cross + ' ' + _message;
title = 'Failed';
} else {
Expand Down
2 changes: 1 addition & 1 deletion lib/growl.js
Expand Up @@ -64,7 +64,7 @@ const display = runner => {
let title;

if (stats.failures) {
_message = `${stats.failures} of ${runner.total} tests failed`;
_message = `${stats.failures} of ${stats.tests} tests failed`;
message = `${symbol.cross} ${_message}`;
title = 'Failed';
} else {
Expand Down

0 comments on commit 7fee3a3

Please sign in to comment.