mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Make tests work with es6 transpiled code.
This commit is contained in:
@@ -234,6 +234,9 @@
|
||||
QUnit.config.autostart = false;
|
||||
|
||||
require(getConfig(), [moduleId], function(lodash) {
|
||||
ui.isStrict || (ui.isStrict = 'default' in lodash);
|
||||
lodash = (lodash['default'] || lodash);
|
||||
|
||||
if (ui.isModularize) {
|
||||
window._ = lodash;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user