You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: