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

Fix children() for stateless children #257

Merged
merged 1 commit into from
Mar 15, 2016

Conversation

poluyanov
Copy link
Contributor

Children method did not work with nested stateless component. It always returns [null]
This patch fixes it

@lelandrichardson
Copy link
Collaborator

Awesome. Thanks!

I'm getting the feeling that we really need to beef up our test suite for stateless functional components. All kinds of SFC-related bugs coming through :(

lelandrichardson added a commit that referenced this pull request Mar 15, 2016
Fix children() for stateless children
@lelandrichardson lelandrichardson merged commit be08a61 into enzymejs:master Mar 15, 2016
@poluyanov
Copy link
Contributor Author

@lelandrichardson thank you for enzyme!

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

Successfully merging this pull request may close these issues.

3 participants