☕️ Classic, reliable, trusted test framework for Node.js and the browser
Fix for Issue #58 - Progress Reporter is off
Brendan Nee462ff14070c4
diff --git a/lib/reporters/progress.js b/lib/reporters/progress.jsindex 311c8b7b..8e0af1b7 100644--- a/lib/reporters/progress.js+++ b/lib/reporters/progress.js@@ -53,8 +53,9 @@ function Progress(runner, options) {// tests completerunner.on('test end', function(){+ complete++;var incomplete = total - complete- , percent = complete++ / total+ , percent = complete / total, n = width * percent | 0, i = width - n;