From 61df8caa3b96a0395b550d8c2a3dca7269761d55 Mon Sep 17 00:00:00 2001 From: Ricky Date: Mon, 29 Jan 2024 13:39:39 -0500 Subject: [PATCH] Remove duplicate dynamic scheduler flags (#28100) These were made dynamic again in https://github.com/facebook/react/pull/27919, and already have the dynamic flags set. It's a bummer to push this around, we should come up with a better way. --- scripts/jest/setupTests.www.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/jest/setupTests.www.js b/scripts/jest/setupTests.www.js index 2fc6da49d55ed..69870ad02a5fe 100644 --- a/scripts/jest/setupTests.www.js +++ b/scripts/jest/setupTests.www.js @@ -30,9 +30,6 @@ jest.mock('scheduler/src/SchedulerFeatureFlags', () => { // These flags are not a dynamic on www, but we still want to run // tests in both versions. - actual.enableIsInputPending = __VARIANT__; - actual.enableIsInputPendingContinuous = __VARIANT__; - actual.enableProfiling = __VARIANT__; actual.enableSchedulerDebugging = __VARIANT__; return actual;