dillon1000/react
Commit
Browse files 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.)
Changed paths5 files
First-parent comparisonsrc/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…