dillon1000/react

Commit

[Fizz] Make some tests more resilient to implementation details (#21438)

* Make some tests resilient against changing the specifics of the HTML

This ensures that for example flipping order of attributes doesn't matter.

* Use getVisibleChildren approach for more resilient tests
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactDOMSelect-test.js ModifiedM packages/react-dom/src/__tests__/ReactDOMServerSuspense-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…