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 usage within applications that do not have ember-auto-import. #758

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Sep 16, 2020

Without this change (e.g. in ember-qunit@5.0.0-beta.3) applications that do not have ember-auto-import as dependencies themselves or do not have a direct import of qunit somewhere in their own code would simply never have QUnit defined.

This ensures that the `ember-qunit` files are analyzed by
`ember-auto-import`. `ember-auto-import` requires that the host runs
through the registry (because that is where the analysis actually
happens).

Without this change (e.g. in `ember-qunit@5.0.0-beta.3`) applications
that do **not** have `ember-auto-import` as dependencies themselves _or_
do not have a direct import of `qunit` somewhere in their own code would
simply never have `QUnit` defined.
@rwjblue rwjblue added the bug label Sep 16, 2020
@rwjblue rwjblue merged commit 18b4cc7 into master Sep 16, 2020
@rwjblue rwjblue deleted the use-preprocessor-registry branch September 16, 2020 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant