dillon1000/react
Commit
Browse files Add toBeTextComponentWithValue to reactComponentExpect
This was previously possible by looking at renderedChildren and props but this feels better.
Changed paths3 files
First-parent comparisonsrc/core/__tests__/ReactMultiChildText-test.js ModifiedA src/test/__tests__/reactComponentExpect-test.js AddedM src/test/reactComponentExpect.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…