/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
private/react-native-fantom/src/__tests__/FantomFeatureFlags-itest.js
22 строки
691 B
Tim Yung
RN: Move `{packages => private}/react-native-fantom` (#51938)
12 июн 2025, 09:49
12 июн 2025, 09:49
d6f29c8
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @fantom_flags commonTestFlag:true jsOnlyTestFlag:true * @flow strict-local * @format */ import * as ReactNativeFeatureFlags from 'react-native/src/private/featureflags/ReactNativeFeatureFlags'; describe('FantomFeatureFlags', () => { it('allows overridding common feature flags', () => { expect(ReactNativeFeatureFlags.commonTestFlag()).toBe(true); }); it('allows overridding JS-only feature flags', () => { expect(ReactNativeFeatureFlags.jsOnlyTestFlag()).toBe(true); }); });