dillon1000/react
Commit
Browse files [RTR] Enable warning flag (#28419)
## Summary Based on - https://github.com/facebook/react/pull/27903 This PR - Silence warning in React tests - Turn on flag We want to finish cleaning up internal RTR usage, but let's prioritize the deprecation process. We do this by silencing the internal warning for now. ## How did you test this change? `yarn build` `yarn test ReactHooksInspectionIntegration -b`
Changed paths8 files
First-parent comparisonpackages/react-devtools-shared/src/__tests__/setupTests.js ModifiedM packages/react-devtools-shared/src/__tests__/treeContext-test.js ModifiedM packages/react-test-renderer/src/ReactTestRenderer.js ModifiedM packages/react-test-renderer/src/__tests__/ReactTestRenderer-test.internal.js ModifiedM packages/shared/ReactFeatureFlags.js ModifiedM packages/shared/forks/ReactFeatureFlags.test-renderer.js ModifiedM scripts/jest/setupTests.js ModifiedA scripts/jest/shouldIgnoreConsoleWarn.js AddedPatch
Files changed
Rendering syntax-highlighted changes…