-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow colocated test files #53
allow colocated test files #53
Conversation
@@ -53,7 +53,6 @@ | |||
"ember-data": "^2.17.0", | |||
"ember-disable-prototype-extensions": "^1.1.2", | |||
"ember-export-application-global": "^2.0.0", | |||
"ember-load-initializers": "^1.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing this so that we're testing the local project, not the published package
instanceInitializers.push(moduleName); | ||
if (!_endsWith(moduleName, '-test')) { | ||
instanceInitializers.push(moduleName); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2796558
to
12599b5
Compare
12599b5
to
6b6e40c
Compare
/cc @rwjblue (perhaps you could publish too if you're 👍?) |
Thanks Gavin; I think this change fixes #47. |
With module unification, test files can be colocated with initializers. This PR avoids registering initializers and application-initializers which end in
-test
.This will unblock work on MU blueprints such as emberjs/ember.js#16489 (comment)