dillon1000/react

Commit

Update Float tests to check for specific errors (#26367)

I updated some of the Float tests that intentionally trigger an error to
assert on the specific error message, rather than swallow any errors
that may or may not happen.
Browse files
Changed paths2 files
First-parent comparison
M packages/internal-test-utils/ReactInternalTestUtils.js ModifiedM packages/react-dom/src/__tests__/ReactDOMFloat-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…