-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
moduleForComponent tests and loading app/initializers #150
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to get moduleForComponent tests to load app/initializers?
One example use-case is:
I'm building a component that relies on ember-key-responder. As part of the unit test for the component, I want to test what the component does on a key press. In order to have a functioning test, I need to have the initializers from ember-key-responder running.
(I suppose this is more of an integration test and would normally have the app loaded, but is it possible to get some of the app state through this testing method?)
The text was updated successfully, but these errors were encountered: