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

Ensure default injection is injected for test utils #6432

Merged
merged 1 commit into from
Apr 7, 2016

Conversation

zpao
Copy link
Member

@zpao zpao commented Apr 7, 2016

This is perfectly safe as that method will not throw if already injected. Some environments use an inline-requires transform and would be impacted if we don't do this. Otherwise it's not necessary as this injections happens when ReactDOM is required.

@zpao zpao force-pushed the testutilsinlinerequiresinject branch from 9206e57 to 95cd88d Compare April 7, 2016 00:43
@zpao zpao merged commit 411951d into facebook:master Apr 7, 2016
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

Successfully merging this pull request may close these issues.

2 participants