dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M src/core/instantiateReactComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…