dillon1000/react
Commit
Browse files [tests] Disallow unasserted console.log (#28708)
Followup from https://github.com/facebook/react/pull/28693 and https://github.com/facebook/react/pull/28680. In CI, we fail the test for any unasserted console.log. In DEV, we don't fail, but you can still use the matchers and we'll assert on them.
Changed paths3 files
First-parent comparisonscripts/jest/matchers/__tests__/toWarnDev-test.js ModifiedM scripts/jest/matchers/toWarnDev.js ModifiedM scripts/jest/setupTests.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…