dillon1000/react
Commit
Browse files Don't transfer props to mocked empty component
We currently automatically render empty components in place of mocks. However, we were accidentally transferring the props from the mocked descriptor to the empty component placeholder. Even children. This change just cleans that up and should only affect unit tests.
Changed paths1 file
First-parent comparisonsrc/core/instantiateReactComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…