☕️ Classic, reliable, trusted test framework for Node.js and the browser
mark slow tests as yellow for Dot reporter
Tj Holowaychuk561daf871183
diff --git a/lib/reporters/dot.js b/lib/reporters/dot.jsindex 2225d30b..08c717e6 100644--- a/lib/reporters/dot.js+++ b/lib/reporters/dot.js@@ -37,6 +37,7 @@ 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, '.'));});