-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I have a component that uses the resize modifier. In an acceptance test of a page where this component is used, it's a simple visit
with a pair of asserts. However I get a failure on the test because of an error: Can not call `.lookup` after the owner has been destroyed
which is pointing at this line.
Forking the repo and updating to latest Ember doesn't reproduce the issue locally with the tests here, so I'm not sure if it's something on the app side or the modifier side. However, adding if (!this.owner.isDestroyed)
to the front of the line fixes my test, fwiw.
Metadata
Metadata
Assignees
Labels
No labels