Skip to content

armgit / mocha

Public Imported from GitHub
0

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

fix debug msg in Runnable#slow; closes #2952

Christopher Hiller19104e3cef7a
diff --git a/lib/runnable.js b/lib/runnable.js
index 1045b068..7c26f569 100644
--- a/lib/runnable.js
+++ b/lib/runnable.js
@@ -103,7 +103,7 @@ Runnable.prototype.slow = function (ms) {
if (typeof ms === 'string') {
ms = milliseconds(ms);
}
- debug('timeout %d', ms);
+ debug('slow %d', ms);
this._slow = ms;
return this;
};