Skip to content

armgit / mocha

Public Imported from GitHub
0

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

refactor

TJ Holowaychuk510a90123e2c
diff --git a/lib/runnable.js b/lib/runnable.js
index ee533e9c..b34bf1e1 100644
--- a/lib/runnable.js
+++ b/lib/runnable.js
@@ -131,8 +131,8 @@ Runnable.prototype.inspect = function(){
*/
Runnable.prototype.resetTimeout = function(){
- var self = this
- , ms = this.timeout() || 1e9; // If the timeout is disabled, leave Node running.
+ var self = this;
+ var ms = this.timeout() || 1e9;
this.clearTimeout();
this.timer = setTimeout(function(){