dillon1000/react
Commit
Browse files Disallow passing a DOM component to findAllInRenderedTree
We won't be able to support this after DOM-components-as-refs but we don't expect many people to be passing DOM components to this function anyway, and it should be fairly straightforward for people to clean up failing unit tests using this function.
Changed paths3 files
First-parent comparisonsrc/renderers/shared/reconciler/__tests__/ReactMockedComponent-test.js ModifiedM src/test/ReactTestUtils.js ModifiedM src/test/__tests__/ReactTestUtils-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…