mirror of
https://github.com/facebook/react.git
synced 2026-02-24 20:53:03 +00:00
30 lines
1.2 KiB
JavaScript
30 lines
1.2 KiB
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow strict
|
|
*/
|
|
|
|
// NOTE: There are no flags, currently. Uncomment the stuff below if we add one.
|
|
|
|
// import typeof * as ExportsType from './ReactFeatureFlags.native-fb-dynamic';
|
|
// import typeof * as DynamicFlagsType from 'ReactNativeInternalFeatureFlags';
|
|
|
|
// In xplat, these flags are controlled by GKs. Because most GKs have some
|
|
// population running in either mode, we should run our tests that way, too,
|
|
//
|
|
// Use __VARIANT__ to simulate a GK. The tests will be run twice: once
|
|
// with the __VARIANT__ set to `true`, and once set to `false`.
|
|
//
|
|
// TODO: __VARIANT__ isn't supported for React Native flags yet. You can set the
|
|
// flag here but it won't be set to `true` in any of our test runs. Need to
|
|
// update the test configuration.
|
|
|
|
// // Flow magic to verify the exports of this file match the original version.
|
|
// // eslint-disable-next-line no-unused-vars
|
|
// type Check<_X, Y: _X, X: Y = _X> = null;
|
|
// // eslint-disable-next-line no-unused-expressions
|
|
// (null: Check<ExportsType, DynamicFlagsType>);
|