Skip to content
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

Fix tests against ember >=4 #153

Merged
merged 1 commit into from
Oct 13, 2021
Merged

Fix tests against ember >=4 #153

merged 1 commit into from
Oct 13, 2021

Conversation

sandydoo
Copy link
Owner

The latest beta of Ember v4 now includes ember-auto-import >=2 as a dependency, forcing the consuming application to include it as well. As a side-effect of that, we can’t run our test suite against v4 unless we also add ember-auto-import to our dependencies, again forcing apps downstream to do the same.

We don’t use any of the features of auto-import, so it feels rather silly dropping a major version over this. Luckily, we can use ember-try scenarios to work around this!

The latest beta of Ember v4 now includes ember-auto-import `>=2` as a
dependency, forcing the consuming application to include it as well.
As a side-effect of that, we can’t run our test suite against `v4`
unless we also add ember-auto-import to our dependencies, again forcing
apps downstream to do the same.

We don’t use any of the features of auto-import, so it feels rather
silly dropping a major version over this. Luckily, we can use ember-try
scenarios to work around this!
@sandydoo sandydoo added the internal Housekeeping label Oct 13, 2021
@sandydoo sandydoo merged commit b6c6838 into main Oct 13, 2021
@sandydoo sandydoo deleted the fix-tests-against-ember-v4 branch October 13, 2021 15:52
sandydoo added a commit that referenced this pull request Oct 13, 2021
emberjs/ember.js#19761 (comment)

Apparently, we can add auto-import `>= 2` to our devDependencies
without *crosses fingers* any issue...as long as we don’t need it
in our addon code.

This is a partial revert for PR #153.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Housekeeping
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant