-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Always create addon trees when developing an addon #3915
Conversation
47f6b80
to
f0dad58
Compare
Travis isn't helping today: |
I added the istanbul coverage, but I don't see anything that would cause this to stop working. |
7cc7b85
to
6b58600
Compare
Thanks for the reply @kellyselden. |
@marcioj i purged the cache, it seemed to solve this for other PR :) |
Thanks @stefanpenner! |
@marcioj thanks :) |
4b65bb6
to
f17d501
Compare
After some debugging I found the issue. Looks like the |
@marcioj nice find! |
`process.env.EMBER_ADDON_ENV = undefined` will store an `'undefined'` string instead of `undefined` value. So we delete the process.env.EMBER_ADDON_ENV if `originalEnvValue` was initially `undefined`
I changed the way I was closing the test server to just send a |
The fix is included in testem |
Thanks for the release @johanneswuerbach ! |
@stefanpenner 👍 / 👎 ? |
Always create addon trees when developing an addon
Always create addon trees when developing an addon
If we create a new addon and start the server
includedModules()
will return an empty object, since there isn't any module, so the addon tree is skipped.But if later we add a new file, for instance using
ember g initializer foo
, these files aren't included in the pipeline because no tree was created initially and tests will fail withCould not find module ember-simple-validate/initializers/foo imported from dummy/initializers/foo
Fixes #3906