-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Can't find local modules #90
Comments
Need more info:
|
Thanks for the prompt response.
Good question. I've been dealing with projects with explicit dependencies for a while, and the monolithic framework approach favoured by Ember (especially with the CLI) throws me a bit because of all the implicit dependency invocations and reference resolution magic. imports work in my application proper, but don't work in tests. However when I tried to reproduce a minimal test case and… it just works! I'll close this until I can get any kind of more meaningful feedback on why my app can't do this if it points to a problem in qunit instantiation - but from scouring the source, I doubt it is. There is no special dependency resolution magic in this package at all, is there? Thanks again. |
It seems Ember tests can't resolve local modules. Despite being aware of the import mechanism, surrounding project filesystem and resolving paths correctly, I will always receive
Error: Could not find module
${project-name}/{path-to-my-module}`` if I try to import anything local.The text was updated successfully, but these errors were encountered: