☕️ Classic, reliable, trusted test framework for Node.js and the browser
Changed: bright yellow for slow Dot reporter tests
Tj Holowaychukb96be31bf15a
diff --git a/lib/reporters/dot.js b/lib/reporters/dot.jsindex 08c717e6..f1adb38c 100644--- a/lib/reporters/dot.js+++ b/lib/reporters/dot.js@@ -37,8 +37,11 @@ function Dot(runner) {runner.on('pass', function(test){if (++n % width == 0) process.stdout.write('\n ');- if ('slow' == test.speed) test.speed = 'medium';- process.stdout.write(color(test.speed, '.'));+ if ('slow' == test.speed) {+ process.stdout.write('\033[93m.\033[0m');+ } else {+ process.stdout.write(color(test.speed, '.'));+ }});runner.on('fail', function(test, err){