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
When running the tests in an Ember app using the /tests route, I'm seeing tests fail as a result of Ember Inspector's getOwner function throwing an exception (specifically, this line).
After digging into the stack trace for a bit, it appears that one of Ember Inspector's initializers (this one) is falling over when the second test in the suite beings (so, presumably when application.reset is being called).
It almost seems like my application instance isn't even getting passed into the initializer, so that when Ember Inspector tries to call methods on it, it immediately fails.
Have you ever run into this before, or do you have any ideas about what might be causing this?
The text was updated successfully, but these errors were encountered:
cafreeman
changed the title
Seeing failing tests on /tests route with Ember Inspector route
Seeing failing tests on /tests route with Ember Inspector open
May 31, 2018
@cafreeman I can't say that I have had Inspector open while running tests before. It seems like application.__deprecatedInstance__ would be something we would want to get away from though, as it looks very private and deprecated.
This is happening to me on Ember 3.2.2 in Chrome. It fails while the developer tools are open, I don’t even have to be looking at Ember Inspector specifically.
When running the tests in an Ember app using the
/tests
route, I'm seeing tests fail as a result of Ember Inspector'sgetOwner
function throwing an exception (specifically, this line).After digging into the stack trace for a bit, it appears that one of Ember Inspector's initializers (this one) is falling over when the second test in the suite beings (so, presumably when
application.reset
is being called).It almost seems like my application instance isn't even getting passed into the initializer, so that when Ember Inspector tries to call methods on it, it immediately fails.
Have you ever run into this before, or do you have any ideas about what might be causing this?
The text was updated successfully, but these errors were encountered: