dillon1000/react
Commit
Browse files Build infra for tracking dev-specific failures (#8228)
I'll plan to change all of our console.error and component-tree expects to expectDev. It's a little annoying that we need to make sure tests don't throw (see my change to normalizeCodeLocInfo) but any alternative would seem to require two separate test runs or a much more cumbersome syntax.
Changed paths7 files
First-parent comparison.eslintrc.js ModifiedM package.json ModifiedM scripts/fiber/record-tests ModifiedM scripts/fiber/tests-failing.txt ModifiedA scripts/fiber/tests-passing-except-dev.txt AddedM scripts/jest/test-framework-setup.js ModifiedM src/renderers/shared/stack/reconciler/__tests__/ReactChildReconciler-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…