ember-codemods / ember-module-migrator

Automated migration for new Ember application layout.
74 stars 15 forks source link

migrate test-helpers.js to import APP from src/main #73

Closed iezer closed 6 years ago

iezer commented 6 years ago

Migrate test-helpers.js to import APP from src/main. This means we can remove the manual step from the README.

Fixes the 1st migrator bullet in https://github.com/emberjs/ember.js/issues/16373

There's a separate but similar fixture called test-helpers which I left unchanged. That test has a start-app.js file so it's for apps that haven't migrating to the new testing structure. This new test has no start-app.js and thus the App import is done in test-helper.js.

rwjblue commented 6 years ago

Thank you @iezer !