Skip to content
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

No way to call component.didInsertElement() in component integration test #84

Closed
tsing80 opened this issue Jul 21, 2015 · 1 comment
Closed

Comments

@tsing80
Copy link
Contributor

tsing80 commented Jul 21, 2015

When testing component in integration test, willDestroyElement() is called but didInsertElement() is not called. I would like to call didInsertElement() manually since some component use willDestoryElement() to clean up stuff called in didInsertElement(). However since the component object created is not exposed in integration test. I cannot call it manually. It would be nice if the component instance is exposed or didInsertElement() is called after render() hook

@tsing80
Copy link
Contributor Author

tsing80 commented Sep 13, 2015

closed as cannot reproduce on latest emberjs 1.13 and ember-cli

@tsing80 tsing80 closed this as completed Sep 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant