dillon1000/react
Commit
Browse files Eagerly evaluate inline requires in Jest (#7245)
* Eagerly evaluate inline requires in Jest I inlined some requires in #7188 to fix the build size regression. However this caused an issue with Jest due to it resetting module registry between tests. This is a temporary fix to #7240. It should be reverted as part of #7178. * Make the hack work in all environments
Changed paths6 files
First-parent comparisongrunt/tasks/browserify.js ModifiedM src/isomorphic/classic/types/checkReactTypeSpec.js ModifiedM src/renderers/shared/stack/reconciler/ReactChildReconciler.js ModifiedM src/renderers/shared/stack/reconciler/__tests__/ReactMultiChildReconcile-test.js ModifiedM src/renderers/shared/stack/reconciler/__tests__/refs-test.js ModifiedM src/shared/utils/flattenChildren.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…