Skip to content

armgit / mocha

Public Imported from GitHub
0

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

bump error down a line

Tj Holowaychuk5fe9edb198c5
diff --git a/lib/reporters/base.js b/lib/reporters/base.js
index 4b26fa68..1d8e996e 100644
--- a/lib/reporters/base.js
+++ b/lib/reporters/base.js
@@ -109,8 +109,8 @@ exports.list = function(failures){
console.error();
failures.forEach(function(test, i){
// format
- var fmt = color('error title', ' %s) %s: ')
- + color('error message', '%s')
+ var fmt = color('error title', ' %s) %s:\n')
+ + color('error message', ' %s')
+ color('error stack', '\n%s\n');
// msg