☕️ Classic, reliable, trusted test framework for Node.js and the browser
misc
Tj Holowaychukef170d96cb33
diff --git a/lib/reporters/html.js b/lib/reporters/html.jsindex e31f3048..e33bcb26 100644--- a/lib/reporters/html.js+++ b/lib/reporters/html.js@@ -40,7 +40,7 @@ function HTML(runner) {, stack = [root], stat = $(statsTemplate).appendTo(root);- if (root.length) return error('#mocha div missing, add it to your document');+ if (!root.length) return error('#mocha div missing, add it to your document');runner.on('suite', function(suite){if (suite.root) return;