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); });