dillon1000/react

Commit

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.
Browse files
Changed paths3 files
First-parent comparison
M src/renderers/shared/reconciler/__tests__/ReactMockedComponent-test.js ModifiedM src/test/ReactTestUtils.js ModifiedM src/test/__tests__/ReactTestUtils-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…