mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Update qunit to 1.17.1.
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"jquery": "~1.11.2",
|
"jquery": "~1.11.2",
|
||||||
"platform": "~1.3.0",
|
"platform": "~1.3.0",
|
||||||
"qunit-extras": "~1.4.0",
|
"qunit-extras": "~1.4.0",
|
||||||
"qunitjs": "~1.16.0",
|
"qunitjs": "~1.17.0",
|
||||||
"requirejs": "~2.1.15"
|
"requirejs": "~2.1.15"
|
||||||
},
|
},
|
||||||
"volo": {
|
"volo": {
|
||||||
|
|||||||
@@ -42,12 +42,7 @@
|
|||||||
}());
|
}());
|
||||||
|
|
||||||
QUnit.config.asyncRetries = 10;
|
QUnit.config.asyncRetries = 10;
|
||||||
|
QUnit.config.hidepassed = true;
|
||||||
QUnit.begin(function() {
|
|
||||||
QUnit.config.hidepassed = true;
|
|
||||||
document.getElementById('qunit-tests').className += ' hidepass';
|
|
||||||
document.getElementById('qunit-urlconfig-hidepassed').checked = true;
|
|
||||||
});
|
|
||||||
|
|
||||||
// load lodash
|
// load lodash
|
||||||
if (!ui.isModularize) {
|
if (!ui.isModularize) {
|
||||||
|
|||||||
10
test/test.js
10
test/test.js
@@ -15437,15 +15437,9 @@
|
|||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
QUnit.config.asyncRetries = 10;
|
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.config.noglobals = true;
|
||||||
QUnit.load();
|
QUnit.load();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,12 +37,7 @@
|
|||||||
<script src="./asset/test-ui.js"></script>
|
<script src="./asset/test-ui.js"></script>
|
||||||
<script>
|
<script>
|
||||||
QUnit.config.asyncRetries = 10;
|
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
|
// excuse tests we intentionally fail or those with problems
|
||||||
QUnit.config.excused = {
|
QUnit.config.excused = {
|
||||||
|
|||||||
Reference in New Issue
Block a user