-
Notifications
You must be signed in to change notification settings - Fork 20
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
How to convert unit tests with injections? #64
Comments
I need to see how this actually worked before, I'm not sure the best path forward here. I believe that this might have been fixed automatically when using [email protected] and use |
On second thought, I'm not 100% sure if we also need changes to the |
@alexander-alvarez - Any chance you could whip up a demo repo that I could use to step through? |
No problem... I'll try to set something up Monday night |
been working on https://github.com/alexander-alvarez/ember-qunit-engine-injection-repro/commits/master So I don't know if it's just not my day, but I'm getting a lot of weird behavior on a clean branch. Except for registering models (how should we do this ?) it seems the new style is working Sorry this isn't much help. Been an awfully head-scratchy night |
I have some injections on my controller (inside of an engine) which worked, but after running the codemod I'm getting errors:
Attempting to inject an unknown injection: 'router:main
I imagine it's because the registry in the new API is isolated?
Should we be manually registering services, or is there a different desired change?
The text was updated successfully, but these errors were encountered: