☕️ Classic, reliable, trusted test framework for Node.js and the browser
show total test cases correctly in growl
Outsider7fee3a367afe
diff --git a/lib/browser/growl.js b/lib/browser/growl.jsindex a6764897..8472cebb 100644--- a/lib/browser/growl.js+++ b/lib/browser/growl.js@@ -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 {diff --git a/lib/growl.js b/lib/growl.jsindex eae22818..d9ee37cf 100644--- a/lib/growl.js+++ b/lib/growl.js@@ -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 {