Skip to content

armgit / mocha

Public Imported from GitHub
0

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

expose shim process

Di Wuaa7d08be0da8
diff --git a/support/tail.js b/support/tail.js
index 8774dcd7..4dcdebe0 100644
--- a/support/tail.js
+++ b/support/tail.js
@@ -120,3 +120,9 @@ mocha.run = function(fn){
if (fn) fn();
});
};
+
+/**
+ * Expose the process shim.
+ */
+
+Mocha.process = process;