☕️ Classic, reliable, trusted test framework for Node.js and the browser
Fixed growl total, use runner.total
Tj Holowaychukd1f773e6e873
diff --git a/bin/mocha b/bin/mochaindex a50bd40f..39fd9979 100755--- a/bin/mocha+++ b/bin/mocha@@ -182,7 +182,7 @@ function growl(runner, reporter) {runner.on('end', function(){var stats = reporter.stats;if (stats.failures) {- var msg = stats.failures + ' of ' + stats.tests + ' tests failed';+ var msg = stats.failures + ' of ' + runner.total + ' tests failed';notify(msg, { title: 'Failed', image: images.fail });} else {notify(stats.passes + ' tests passed in ' + stats.duration + 'ms', {