Skip to content

Commit 699d03c

Browse files
authoredApr 22, 2024··
Cleanup replayFailedUnitOfWorkWithInvokeGuardedCallbackand enableProfilerNestedUpdateScheduledHook (#28891)
1 parent 9f2eebd commit 699d03c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎packages/react/src/__tests__/ReactProfilerComponent-test.internal.js

-6
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,13 @@ function loadModules({
1919
enableProfilerTimer = true,
2020
enableProfilerCommitHooks = true,
2121
enableProfilerNestedUpdatePhase = true,
22-
enableProfilerNestedUpdateScheduledHook = false,
23-
replayFailedUnitOfWorkWithInvokeGuardedCallback = false,
2422
} = {}) {
2523
ReactFeatureFlags = require('shared/ReactFeatureFlags');
2624

2725
ReactFeatureFlags.enableProfilerTimer = enableProfilerTimer;
2826
ReactFeatureFlags.enableProfilerCommitHooks = enableProfilerCommitHooks;
2927
ReactFeatureFlags.enableProfilerNestedUpdatePhase =
3028
enableProfilerNestedUpdatePhase;
31-
ReactFeatureFlags.enableProfilerNestedUpdateScheduledHook =
32-
enableProfilerNestedUpdateScheduledHook;
33-
ReactFeatureFlags.replayFailedUnitOfWorkWithInvokeGuardedCallback =
34-
replayFailedUnitOfWorkWithInvokeGuardedCallback;
3529

3630
React = require('react');
3731
ReactDOMClient = require('react-dom/client');

0 commit comments

Comments
 (0)
Please sign in to comment.