Make tests work with es6 transpiled code.

This commit is contained in:
John-David Dalton
2014-06-15 16:18:07 -07:00
parent 5d3a9d817a
commit e152f54903
5 changed files with 36 additions and 18 deletions

View File

@@ -126,6 +126,9 @@
QUnit.config.autostart = false;
require(getConfig(), ['underscore', 'backbone'], function(lodash) {
ui.isStrict || (ui.isStrict = 'default' in lodash);
lodash = (lodash['default'] || lodash);
mixinPrereqs(lodash);
if (ui.isModularize) {