From 4944e31ff60105815f4b314996a9861e73f6bfd2 Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Sun, 31 Jul 2016 21:46:22 -0700 Subject: [PATCH] rebuild mocha.js --- mocha.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mocha.js b/mocha.js index 6a05a38584..fc38566c35 100644 --- a/mocha.js +++ b/mocha.js @@ -3711,7 +3711,6 @@ inherits(Progress, Base); var Base = require('./base'); var inherits = require('../utils').inherits; var color = Base.color; -var cursor = Base.cursor; /** * Expose `Spec`. @@ -3763,20 +3762,17 @@ function Spec(runner) { fmt = indent() + color('checkmark', ' ' + Base.symbols.ok) + color('pass', ' %s'); - cursor.CR(); console.log(fmt, test.title); } else { fmt = indent() + color('checkmark', ' ' + Base.symbols.ok) + color('pass', ' %s') + color(test.speed, ' (%dms)'); - cursor.CR(); console.log(fmt, test.title, test.duration); } }); runner.on('fail', function(test) { - cursor.CR(); console.log(indent() + color('fail', ' %d) %s'), ++n, test.title); });