☕️ Classic, reliable, trusted test framework for Node.js and the browser
tweak styling a bit
Tj Holowaychuk1da6c4c1fb45
diff --git a/Makefile b/Makefileindex 01340ca8..59132c13 100644--- a/Makefile+++ b/Makefile@@ -1,6 +1,6 @@TESTS = test/unit/*.js-REPORTER = spec+REPORTER = dottest: test-unitdiff --git a/lib/reporters/base.js b/lib/reporters/base.jsindex ce0294b1..5a37c965 100644--- a/lib/reporters/base.js+++ b/lib/reporters/base.js@@ -29,9 +29,7 @@ exports.useColors = isatty;exports.colors = {'pass': 90- , 'pass message': 32, 'fail': 31- , 'fail message': 31, 'pending': 36, 'suite': '1;90', 'error title': 0@@ -182,7 +180,7 @@ Base.prototype.epilogue = function(){// failureif (stats.failures) {console.error(- color('fail message', ' ✖ %d of %d tests failed:')+ ' \033[91m✖ %d of %d tests failed\033[90m:\033[0m', stats.failures, stats.tests);Base.list(this.failures);console.error();@@ -194,7 +192,7 @@ Base.prototype.epilogue = function(){// passconsole.log(- color('pass message', ' ✔ %d tests completed in %dms')+ ' \033[92m✔ %d \033[32mtests completed\033[90m (%dms)\033[0m', stats.tests || 0, stats.duration);