-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
[Bug] Test suite fails to run using ember-source v4.4.1 #20110
Comments
@ndekeister-us What's your |
Tested with ember-cli 4.3 and 4.4, maybe linked to https://github.com/emberjs/ember.js/pull/19981/files ? Using If we move |
I think that's a huge oversight on my part when implementing that RFC. I will try to fix ASAP (prob on monday). Sorry for the inconvenience! |
The import path for addons should actually be |
+1 working great, will use this on my project until the patch and thanks for implementing that RFC 🎉 |
Small update. I'm working on fixing this. I'm just adding some extra tests, to make sure I don't introduce any regressions. |
🐞 Describe the Bug
Using ember-source v4.4.1, when we generate a component and run the test suite, we will have the following error
In fact, it seems to fails when we try to import any files from
my-addon-name/tests/helpers/*
Note that it was working on ember-source v4.3.0 because test files were generated with
import { setupRenderingTest } from 'ember-qunit';
, but usingimport { setupRenderingTest } from 'my-addon-name/tests/helpers';
in ember-source v4.3.0 we have the same error than above.🔬 Minimal Reproduction
https://github.com/ndekeister-us/ember-test-ember_4_4
😕 Actual Behavior
Using latest version of ember-source v4.4.1, it fails to run the test suite because it fails to import files in
my-addon/tests/helpers/*
🤔 Expected Behavior
Using latest version of ember-source, i'm able to run the test suite
🌍 Environment
The text was updated successfully, but these errors were encountered: