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

Commit a3b5b66

Browse files
committed
Remove requiring of ms package in mocha that doesn't seem to exist on the latest version and only seems to be used for some reporting
1 parent 0ada9b8 commit a3b5b66

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/truffle/test/scenarios/reporter.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ var OS = require("os");
1010
* Module dependencies.
1111
*/
1212

13-
var ms = require("mocha/lib/ms.js");
1413
var Base = require("mocha/lib/reporters/base.js");
1514
var utils = require("mocha/lib/utils");
1615
var inherits = utils.inherits;
@@ -104,8 +103,6 @@ exports = module.exports = function(logger) {
104103
color("green", " %d passing") +
105104
color("light", " (%s)");
106105

107-
logger.log(fmt, stats.passes || 0, ms(stats.duration));
108-
109106
// pending
110107
if (stats.pending) {
111108
fmt = color("pending", " ") + color("pending", " %d pending");

0 commit comments

Comments
 (0)