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

[BUGFIX release] Fix generated import paths for test setup functions in addons #20114

Conversation

bertdeblock
Copy link
Member

@bertdeblock bertdeblock commented Jun 11, 2022

I introduced a regression when implementing #19981.
The project's module prefix should be used instead of the addon's package name when generating these import paths, as these test setup functions are not located in the addon's addon folder, but in /tests/helpers/index.js.

When approved, I will implement the same fix over in Ember Data.

Closes #20110.

@locks locks requested a review from a team June 11, 2022 11:50
@kategengler
Copy link
Member

Thanks!

Possible future improvement is to use your new utility fn here

dasherizedModulePrefix: stringUtils.dasherize(options.project.config().modulePrefix),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Test suite fails to run using ember-source v4.4.1
3 participants