Skip to content

armgit / mocha

Public Imported from GitHub
0

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

misc

Tj Holowaychuk9109c74d7728
diff --git a/support/tail.js b/support/tail.js
index 6d3dd5ba..1e801b3e 100644
--- a/support/tail.js
+++ b/support/tail.js
@@ -9,11 +9,14 @@
*/
process = {};
-process.nextTick = function(fn){ setTimeout(fn, 0); };
process.exit = function(status){};
process.stdout = {};
global = this;
+process.nextTick = function(fn){
+ setTimeout(fn, 0);
+};
+
process.removeListener = function(ev){
if ('uncaughtException' == ev) {
window.onerror = null;