Add "[FAIL]" to test failures, for easier searching of output
This commit is contained in:
parent
4a5de628ce
commit
07fbda2b72
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ function Reporter(runner) {
|
|||
let indentStr = indent();
|
||||
dump("\r" + indentStr
|
||||
// Dark red X for errors
|
||||
+ "\033[31;40m" + Mocha.reporters.Base.symbols.err + "\033[0m"
|
||||
+ "\033[31;40m" + Mocha.reporters.Base.symbols.err + " [FAIL]\033[0m"
|
||||
+ " " + test.title + "\n"
|
||||
+ indentStr + " " + err.toString() + " at\n"
|
||||
+ err.stack.replace(/^/gm, indentStr + " "));
|
||||
|
|
Loading…
Reference in a new issue