mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Fix QUnit hidepass display.
This commit is contained in:
10
test/test.js
10
test/test.js
@@ -13948,9 +13948,15 @@
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
QUnit.config.asyncRetries = 10;
|
||||
QUnit.config.hidepassed = true;
|
||||
|
||||
if (!document) {
|
||||
if (document) {
|
||||
QUnit.begin(function() {
|
||||
QUnit.config.hidepassed = true;
|
||||
document.getElementById('qunit-tests').className += ' hidepass';
|
||||
document.getElementById('qunit-urlconfig-hidepassed').checked = true;
|
||||
});
|
||||
} else {
|
||||
QUnit.config.hidepassed = true;
|
||||
QUnit.config.noglobals = true;
|
||||
QUnit.load();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user