mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
15373218ec
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52894 Adds the following boolean pragma modes for more granular control: ``` fantom_native_opt true|false fantom_js_opt true|false fantom_js_bytecode true|false ``` Previously these were all set together with `fantom_mode`. These modes are mutually exclusive with `fantom_mode`. Changelog: [Internal] Reviewed By: rubennorte Differential Revision: D79151687 fbshipit-source-id: 59c3f20bccb570c0293ffd037609946a1a9bbb8f
17 lines
398 B
JavaScript
17 lines
398 B
JavaScript
/**
|
|
* 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_js_bytecode true
|
|
* @flow strict-local
|
|
* @format
|
|
*/
|
|
|
|
describe('"@fantom_js_bytecode" in docblock', () => {
|
|
it('should use development builds', () => {
|
|
expect(__DEV__).toBe(true);
|
|
});
|
|
});
|