Skip to content

Commit

Permalink
Remove FeatureFlags fork for react-dom/unstable_testing (#26383)
Browse files Browse the repository at this point in the history
This doesn't need its own set of flags. We use things like `__PROFILE__`
in the regular feature flags file to fork for the `react-dom/profiling`
build so we can do the same here if needed but I don't think we actually
need to fork this anywhere as far as I can tell.
  • Loading branch information
sebmarkbage authored Mar 13, 2023
1 parent 2788d0d commit 6bd53a5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 165 deletions.
78 changes: 0 additions & 78 deletions packages/shared/forks/ReactFeatureFlags.testing.js

This file was deleted.

79 changes: 0 additions & 79 deletions packages/shared/forks/ReactFeatureFlags.testing.www.js

This file was deleted.

8 changes: 0 additions & 8 deletions scripts/rollup/forks.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@ const forks = Object.freeze({
return './packages/shared/forks/ReactFeatureFlags.test-renderer.www.js';
}
return './packages/shared/forks/ReactFeatureFlags.test-renderer.js';
case 'react-dom/unstable_testing':
switch (bundleType) {
case FB_WWW_DEV:
case FB_WWW_PROD:
case FB_WWW_PROFILING:
return './packages/shared/forks/ReactFeatureFlags.testing.www.js';
}
return './packages/shared/forks/ReactFeatureFlags.testing.js';
default:
switch (bundleType) {
case FB_WWW_DEV:
Expand Down

0 comments on commit 6bd53a5

Please sign in to comment.