Skip to content

Fixed ReactTestUtils scry for TextComponents. Fix #2695

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

Merged
merged 1 commit into from
Dec 12, 2014

Conversation

jimfb
Copy link
Contributor

@jimfb jimfb commented Dec 11, 2014

Fixed ReactTestUtils scry for TextComponents. Fixes issue #2654.

We talked about it in #2654. But then we talked with @sebmarkbage in person and decided to just fix the scry.

@jimfb
Copy link
Contributor Author

jimfb commented Dec 11, 2014

Pull request continued from: #2693

jimfb added a commit that referenced this pull request Dec 12, 2014
Fixed ReactTestUtils scry for TextComponents.  Fix
@jimfb jimfb merged commit df81c99 into facebook:master Dec 12, 2014
@sebmarkbage
Copy link
Collaborator

The duck type is not ideal because the base component has the method but it throws when invoked but we'll refactor these test util helpers as we go.

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