@samitouri / QOS-React / commits / 61df8caa3b

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.

Ricky committed Jan 29, 2024 at 13:39 UTC 61df8caa3b96a0395b550d8c2a3dca7269761d55
1 file changed -3
scripts/jest/setupTests.www.js
-3
@@ -30,9 +30,6 @@ jest.mock('scheduler/src/SchedulerFeatureFlags', () => {
30
31 // These flags are not a dynamic on www, but we still want to run
32 // tests in both versions.
33 - actual.enableIsInputPending = __VARIANT__;
34 - actual.enableIsInputPendingContinuous = __VARIANT__;
35 - actual.enableProfiling = __VARIANT__;
33 actual.enableSchedulerDebugging = __VARIANT__;
34
35 return actual;