☕️ Classic, reliable, trusted test framework for Node.js and the browser
Progress indicator now reflects grep selection.
Nathan Aldersonb1e7f3564597
diff --git a/lib/reporters/html.js b/lib/reporters/html.jsindex 0a5e74ba..db8003ae 100644--- a/lib/reporters/html.js+++ b/lib/reporters/html.js@@ -123,7 +123,7 @@ function HTML(runner, root) {window.scrollTo(0, document.body.scrollHeight);// TODO: add to stats- var percent = stats.tests / total * 100 | 0;+ var percent = stats.tests / this.total * 100 | 0;if (progress) progress.update(percent).draw(ctx);// update stats