☕️ Classic, reliable, trusted test framework for Node.js and the browser
show durations in dot reporter
Tj Holowaychukc5753faadd9f
diff --git a/lib/reporters/dot.js b/lib/reporters/dot.jsindex 72396da3..1083675d 100644--- a/lib/reporters/dot.js+++ b/lib/reporters/dot.js@@ -35,7 +35,7 @@ function Dot(runner) {// test passed, output a dotrunner.on('pass', function(test){if (++n % width == 0) process.stdout.write('\n ');- process.stdout.write(color('pass', '.'));+ process.stdout.write(color(test.speed, '.'));});// test failed, output a dot