Skip to content

Commit

Permalink
rebuild mocha.js
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Aug 1, 2016
1 parent 16762d1 commit 4944e31
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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);
});

Expand Down

0 comments on commit 4944e31

Please sign in to comment.