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
I have integration tests that get passed a state service, and it's a bit of a pain to set up because of the requirement to pass a string to the stateFor method.
For instance, I have a component x-foo and it renders x-bar in its template. Since x-foo creates the state object, x-bar gets passed the state component. In tests/integration/component/x-bar-test.js, I have to create the state service like this:
I have integration tests that get passed a state service, and it's a bit of a pain to set up because of the requirement to pass a string to the
stateFor
method.For instance, I have a component
x-foo
and it rendersx-bar
in its template. Sincex-foo
creates the state object,x-bar
gets passed the state component. Intests/integration/component/x-bar-test.js
, I have to create the state service like this:The text was updated successfully, but these errors were encountered: