Skip to content

armgit / mocha

Public Imported from GitHub
0

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

refactor

TJ Holowaychukf8b2e9f8d006
diff --git a/support/tail.js b/support/tail.js
index 543c1b7e..3e691268 100644
--- a/support/tail.js
+++ b/support/tail.js
@@ -42,10 +42,10 @@ process.on = function(e, fn){
*/
var Date = global.Date,
- setTimeout = global.setTimeout,
- setInterval = global.setInterval,
- clearTimeout = global.clearTimeout,
- clearInterval = global.clearInterval;
+ var setTimeout = global.setTimeout;
+ var setInterval = global.setInterval;
+ var clearTimeout = global.clearTimeout;
+ var clearInterval = global.clearInterval;
/**
* Expose mocha.