diff --git a/packages/react/src/__tests__/ReactProfilerComponent-test.internal.js b/packages/react/src/__tests__/ReactProfilerComponent-test.internal.js index 325354b63f364..d8fc623a3dafc 100644 --- a/packages/react/src/__tests__/ReactProfilerComponent-test.internal.js +++ b/packages/react/src/__tests__/ReactProfilerComponent-test.internal.js @@ -19,8 +19,6 @@ function loadModules({ enableProfilerTimer = true, enableProfilerCommitHooks = true, enableProfilerNestedUpdatePhase = true, - enableProfilerNestedUpdateScheduledHook = false, - replayFailedUnitOfWorkWithInvokeGuardedCallback = false, } = {}) { ReactFeatureFlags = require('shared/ReactFeatureFlags'); @@ -28,10 +26,6 @@ function loadModules({ ReactFeatureFlags.enableProfilerCommitHooks = enableProfilerCommitHooks; ReactFeatureFlags.enableProfilerNestedUpdatePhase = enableProfilerNestedUpdatePhase; - ReactFeatureFlags.enableProfilerNestedUpdateScheduledHook = - enableProfilerNestedUpdateScheduledHook; - ReactFeatureFlags.replayFailedUnitOfWorkWithInvokeGuardedCallback = - replayFailedUnitOfWorkWithInvokeGuardedCallback; React = require('react'); ReactDOMClient = require('react-dom/client');