Skip to content

Conversation

@gaearon
Copy link
Collaborator

@gaearon gaearon commented Feb 5, 2018

This fixes #12106.

Since Enzyme already supports fragments and has battle-tested this support, I used the same algorithm with a few differences:

This gets the new test I added passing.

@acdlite acdlite mentioned this pull request Feb 5, 2018
28 tasks
@gaearon gaearon requested review from acdlite and bvaughn February 5, 2018 10:34
@gaearon gaearon changed the title Fix fragment handling in toTree() Fix fragment and portal handling in toTree() Feb 5, 2018
@gaearon gaearon merged commit 8b83ea0 into facebook:master Feb 5, 2018
This was referenced Mar 30, 2018
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.

react-test-renderer: toTree() does not yet know how to handle nodes with tag=10

3 participants