mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Upgrade to qunit-extras 2.0.
This commit is contained in:
11
test/test.js
11
test/test.js
@@ -300,10 +300,10 @@
|
||||
? require
|
||||
: noop;
|
||||
|
||||
/** The unit testing framework. */
|
||||
var QUnit = root.QUnit || (root.QUnit = load('../node_modules/qunitjs/qunit/qunit.js'));
|
||||
/** Load QUnit and extras. */
|
||||
var QUnit = root.QUnit || load('qunit-extras');
|
||||
|
||||
/** Load stable Lodash and QUnit Extras. */
|
||||
/** Load stable Lodash. */
|
||||
var lodashStable = root.lodashStable;
|
||||
if (!lodashStable) {
|
||||
try {
|
||||
@@ -316,11 +316,6 @@
|
||||
}
|
||||
lodashStable = lodashStable.runInContext(root);
|
||||
|
||||
var QUnitExtras = load('../node_modules/qunit-extras/qunit-extras.js');
|
||||
if (QUnitExtras) {
|
||||
QUnitExtras.runInContext(root);
|
||||
}
|
||||
|
||||
/** The `lodash` function to test. */
|
||||
var _ = root._ || (root._ = (
|
||||
_ = load(filePath),
|
||||
|
||||
Reference in New Issue
Block a user