Skip to content

Commit

Permalink
Work around bizarre babel modules bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Mar 15, 2017
1 parent 4ddd711 commit b826696
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test-helper.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import 'dummy/tests/helpers/setup-ember-dev';
/*
babel@6 currently (6.24.0) puts `import 'foo'` (for side effects) at the
end of the module dep list. Unfortunately, for this to work `setup-ember-dev`
must be evaluated before the `qunit` module is evaluated (because we change
`QUnit.module`).
*/
import requiredWorkAroundBabelBug from 'dummy/tests/helpers/setup-ember-dev'; // eslint-disable-line
import resolver from './helpers/resolver';
import {
setResolver
Expand Down

0 comments on commit b826696

Please sign in to comment.