dillon1000/react

Commit

Disallow passing a DOM component to reactComponentExpect

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.

(This module also isn't public API and never has been.)
Browse files
Changed paths5 files
First-parent comparison
M src/renderers/shared/reconciler/__tests__/ReactCompositeComponent-test.js ModifiedM src/renderers/shared/reconciler/__tests__/ReactIdentity-test.js ModifiedM src/renderers/shared/reconciler/__tests__/ReactMultiChildText-test.js ModifiedM src/renderers/shared/reconciler/__tests__/refs-destruction-test.js ModifiedM src/test/reactComponentExpect.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…