Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Remove requiring of ms package in mocha that doesn't seem to exist on…
Browse files Browse the repository at this point in the history
… the latest version and only seems to be used for some reporting
  • Loading branch information
eggplantzzz committed Jun 21, 2019
1 parent 0ada9b8 commit a3b5b66
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/truffle/test/scenarios/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ var OS = require("os");
* Module dependencies.
*/

var ms = require("mocha/lib/ms.js");
var Base = require("mocha/lib/reporters/base.js");
var utils = require("mocha/lib/utils");
var inherits = utils.inherits;
Expand Down Expand Up @@ -104,8 +103,6 @@ exports = module.exports = function(logger) {
color("green", " %d passing") +
color("light", " (%s)");

logger.log(fmt, stats.passes || 0, ms(stats.duration));

// pending
if (stats.pending) {
fmt = color("pending", " ") + color("pending", " %d pending");
Expand Down

0 comments on commit a3b5b66

Please sign in to comment.