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

Make sure initializers can modify the DOM #307

Merged
merged 1 commit into from
Jan 26, 2018

Conversation

bendemboski
Copy link
Contributor

The initializers were running after the snapshot of the root element was taken, meaning that if an initializer modified the contents of the root element, that modification would not persist beyond the first test. So we boot the app a little earlier to make sure initializers can safely modify the DOM.

The initializers were running after the snapshot of the root element was taken, meaning that if an initializer modified the contents of the root element, that modification would not persist beyond the first test. So we boot the app a little earlier to make sure initializers can safely modify the DOM.
@rwjblue rwjblue merged commit 2e08495 into emberjs:master Jan 26, 2018
@rwjblue
Copy link
Member

rwjblue commented Jan 26, 2018

Thank you!

@rwjblue rwjblue added the bug label Jan 26, 2018
@bendemboski
Copy link
Contributor Author

You bet! I'm really liking this new test API, and happy to help out with it when I can!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants