Fix QUnit hidepass display.

This commit is contained in:
John-David Dalton
2014-12-14 19:36:58 -08:00
parent 316ae0c785
commit f5b3c0affc
4 changed files with 20 additions and 5 deletions

View File

@@ -37,7 +37,12 @@
<script src="./asset/test-ui.js"></script>
<script>
QUnit.config.asyncRetries = 10;
QUnit.config.hidepassed = true;
QUnit.begin(function() {
QUnit.config.hidepassed = true;
$('#qunit-tests').addClass('hidepass');
$('#qunit-urlconfig-hidepassed').prop('checked', true);
});
// excuse tests we intentionally fail or those with problems
QUnit.config.excused = {