Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

misc

Tj Holowaychuk76c471741816
diff --git a/lib/runnable.js b/lib/runnable.js
index d3977d11..e0ef7a6f 100644
--- a/lib/runnable.js
+++ b/lib/runnable.js
@@ -44,7 +44,7 @@ Runnable.prototype.__proto__ = EventEmitter.prototype;
Runnable.prototype.timeout = function(ms){
if (0 == arguments.length) return this._timeout;
- debug('runnable timeout %d', ms);
+ debug('timeout %d', ms);
this._timeout = ms;
return this;
};
diff --git a/lib/suite.js b/lib/suite.js
index 512a9973..d1995bc7 100644
--- a/lib/suite.js
+++ b/lib/suite.js
@@ -99,7 +99,7 @@ Suite.prototype.clone = function(){
Suite.prototype.timeout = function(ms){
if (String(ms).match(/s$/)) ms = parseFloat(ms) * 1000;
- debug('suite timeout %d', ms);
+ debug('timeout %d', ms);
this._timeout = parseInt(ms, 10);
return this;
};