Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Try not clearing the env for debug in the integration test and see if that fixes Node 0.10 on AppVeyor; if need be, some other fix/workaround can be applied to handle whatever was up with debug without causing this issue

ScottFreeCode68a1466a5ec5
diff --git a/test/integration/helpers.js b/test/integration/helpers.js
index 58749b2c..f2d9c811 100644
--- a/test/integration/helpers.js
+++ b/test/integration/helpers.js
@@ -115,10 +115,10 @@ module.exports = {
function invokeMocha (args, fn) {
var output, mocha, listener;
- // ensure DEBUG doesn't kill tests
+
output = '';
args = [path.join('bin', 'mocha')].concat(args);
- mocha = spawn(process.execPath, args, {env: {}});
+ mocha = spawn(process.execPath, args);
listener = function (data) {
output += data;