We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 816dc27 commit 954cf0bCopy full SHA for 954cf0b
lib/reporters/html.js
@@ -357,8 +357,8 @@ function hideSuitesWithout(classname) {
357
*/
358
function unhide() {
359
var els = document.getElementsByClassName('suite hidden');
360
- for (var i = 0; i < els.length; ++i) {
361
- els[i].className = els[i].className.replace('suite hidden', 'suite');
+ while (els.length > 0) {
+ els[0].className = els[0].className.replace('suite hidden', 'suite');
362
}
363
364
0 commit comments