Skip to content

armgit / mocha

Public Imported from GitHub
0

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

styling

Tj Holowaychuk9e054d2d69f9
diff --git a/lib/reporters/base.js b/lib/reporters/base.js
index 5a37c965..cb7d3f74 100644
--- a/lib/reporters/base.js
+++ b/lib/reporters/base.js
@@ -180,7 +180,7 @@ Base.prototype.epilogue = function(){
// failure
if (stats.failures) {
console.error(
- ' \033[91m✖ %d of %d tests failed\033[90m:\033[0m'
+ ' \033[91m✖\033[31m %d of %d tests failed\033[90m:\033[0m'
, stats.failures, stats.tests);
Base.list(this.failures);
console.error();
@@ -192,7 +192,7 @@ Base.prototype.epilogue = function(){
// pass
console.log(
- ' \033[92m✔ %d \033[32mtests completed\033[90m (%dms)\033[0m'
+ ' \033[92m✔\033[32m %d tests completed\033[90m (%dms)\033[0m'
, stats.tests || 0
, stats.duration);