Skip to content

armgit / mocha

Public Imported from GitHub
0

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

fix TAP reporter failures comment :D

TJ Holowaychuka720a308532f
diff --git a/lib/reporters/tap.js b/lib/reporters/tap.js
index ae3e062a..2bcd995b 100644
--- a/lib/reporters/tap.js
+++ b/lib/reporters/tap.js
@@ -27,7 +27,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);