☕️ Classic, reliable, trusted test framework for Node.js and the browser
ocd
TJ Holowaychuk46c663e12bde
diff --git a/lib/runner.js b/lib/runner.jsindex ea0c28f2..43698089 100644--- a/lib/runner.js+++ b/lib/runner.js@@ -66,6 +66,7 @@ function Runner(suite) {* @param {Function} fn* @api private*/+Runner.immediately = global.setImmediate || process.nextTick;/**diff --git a/support/tail.js b/support/tail.jsindex 7216b998..66633ca3 100644--- a/support/tail.js+++ b/support/tail.js@@ -62,6 +62,7 @@ process.on = function(e, fn){/*** High-performance override of Runner.immediately.*/+Mocha.Runner.immediately = function(callback) {immediateQueue.push(callback);if (!immediateTimeout) {