Skip to content

armgit / mocha

Public Imported from GitHub
0

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

fixed list reporter error styling to match prev commit

Tj Holowaychuk4fad88c9572a
diff --git a/lib/reporters/list.js b/lib/reporters/list.js
index f27af2c6..b4a61542 100644
--- a/lib/reporters/list.js
+++ b/lib/reporters/list.js
@@ -46,7 +46,7 @@ function List(runner) {
// test failed
runner.on('fail', function(test, err){
- console.log(color('fail', ' %d) %s'), n++, test.fullTitle());
+ console.log('\r' + color('fail', ' %d) %s'), n++, test.fullTitle());
});
runner.on('end', self.epilogue.bind(self));