dillon1000/react
Commit
Browse files 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
Changed paths1 file
First-parent comparisonsrc/test/reactComponentExpect.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…