dillon1000/react

Commit

Fix TestUtils crash with NODE_ENV=production (#7246)

I caused it with #7189.
We generally don’t recommend running TestUtils in production environment but this is technically a regression.

Fixes #7231.
Browse files
Changed paths1 file
First-parent comparison
M src/test/ReactTestUtils.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…