Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

build

TJ Holowaychukcc1eceb0622d
diff --git a/mocha.js b/mocha.js
index a2099df5..8a52a6c6 100644
--- a/mocha.js
+++ b/mocha.js
@@ -2679,7 +2679,6 @@ function Markdown(runner) {
var self = this
, stats = this.stats
- , total = runner.total
, level = 0
, buf = '';
@@ -3271,7 +3270,7 @@ function TAP(runner) {
, stats = this.stats
, n = 1
, passes = 0
- , failures = 1;
+ , failures = 0;
runner.on('start', function(){
var total = runner.grepTotal(runner.suite);