☕️ Classic, reliable, trusted test framework for Node.js and the browser
added .test class back
Tj Holowaychuk3d56c29e4639
diff --git a/lib/reporters/html.js b/lib/reporters/html.jsindex 2da81c24..ed7c9084 100644--- a/lib/reporters/html.js+++ b/lib/reporters/html.js@@ -68,7 +68,7 @@ function HTML(runner) {console.log(stats);// testvar str = test.passed ? 'pass' : 'fail';- var el = o('<div class="' + str + '"><h2>' + test.title + '</h2></div>')+ var el = o('<div class="test ' + str + '"><h2>' + test.title + '</h2></div>')// codevar pre = o('<pre><code>' + clean(test.fn.toString()) + '</code></pre>');diff --git a/mocha.js b/mocha.jsindex 6a616934..ab549a27 100644--- a/mocha.js+++ b/mocha.js@@ -809,7 +809,7 @@ function HTML(runner) {console.log(stats);// testvar str = test.passed ? 'pass' : 'fail';- var el = o('<div class="' + str + '"><h2>' + test.title + '</h2></div>')+ var el = o('<div class="test ' + str + '"><h2>' + test.title + '</h2></div>')// codevar pre = o('<pre><code>' + clean(test.fn.toString()) + '</code></pre>');