dillon1000/react

Commit

Fixed a bug in expectRenderedChildAt

React components have _mountIndex, that looks like it is their order in DOM.
If you swap 2 elements in DOM, their order in children array isn't changed, but their _mountIndex is
Browse files
Changed paths1 file
First-parent comparison
M src/test/reactComponentExpect.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…