Skip to content

armgit / mocha

Public Imported from GitHub
0

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

change "console.error(e.stack)"

eiji.ienaga9ff93890bace
diff --git a/bin/_mocha b/bin/_mocha
index b04a6e81..ba1f80b7 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -314,7 +314,7 @@ if (program.watch) {
play(frames);
});
} catch(e) {
- process.stdout.write(e.stack);
+ console.log(e.stack);
}
}