☕️ Classic, reliable, trusted test framework for Node.js and the browser
Fixed chopping of first char in error reporting. Closes #334
TJ Holowaychuk8ac51844b953
diff --git a/lib/reporters/base.js b/lib/reporters/base.jsindex 37e4baca..fddd0bb1 100644--- a/lib/reporters/base.js+++ b/lib/reporters/base.js@@ -172,7 +172,7 @@ exports.list = function(failures){}// indent stack trace without msg- stack = stack.slice(index + 1)+ stack = stack.slice(index ? index + 1 : index).replace(/^/gm, ' ');console.error(fmt, (i + 1), test.fullTitle(), msg, stack);