| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | * |
| 7 | * @flow strict |
| 8 | */ |
| 9 | |
| 10 | // In xplat, these flags are controlled by GKs. Because most GKs have some |
| 11 | // population running in either mode, we should run our tests that way, too, |
| 12 | // |
| 13 | // Use __VARIANT__ to simulate a GK. The tests will be run twice: once |
| 14 | // with the __VARIANT__ set to `true`, and once set to `false`. |
| 15 | // |
| 16 | // TODO: __VARIANT__ isn't supported for React Native flags yet. You can set the |
| 17 | // flag here but it won't be set to `true` in any of our test runs. Need to |
| 18 | // add a test configuration for React Native. |
| 19 | |
| 20 | export const alwaysThrottleRetries = __VARIANT__; |
| 21 | export const enableObjectFiber = __VARIANT__; |
| 22 | export const passChildrenWhenCloningPersistedNodes = __VARIANT__; |
| 23 | export const enableFragmentRefs = __VARIANT__; |
| 24 | export const enableFragmentRefsScrollIntoView = __VARIANT__; |
| 25 | export const enableFragmentRefsInstanceHandles = __VARIANT__; |
| 26 | export const enableFragmentRefsTextNodes = __VARIANT__; |
| 27 | export const enableViewTransitionForPersistenceMode = __VARIANT__; |
| 28 | export const enableConditionalUseWarning = __VARIANT__; |