forked from microsoft/react-native-macos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Fantom mode for development with Hermes bytecode (facebook#48178)
Summary: Pull Request resolved: facebook#48178 Changelog: [internal] Adds a new mode for Fantom to run tests with dev-mode bytecode. Right now the modes were only dev (development with source code) or opt (optimized bytecode). Reviewed By: rshest Differential Revision: D66888986 fbshipit-source-id: 34b2566a65d138790e16f8fb5787fd9c2bcde536
- Loading branch information
1 parent
4d07fb7
commit 3cc67fe
Showing
3 changed files
with
49 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
packages/react-native-fantom/src/__tests__/FantomModeDevBytecode-itest.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* 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. | ||
* | ||
* @flow strict-local | ||
* @format | ||
* @oncall react_native | ||
* @fantom_mode dev-bytecode | ||
*/ | ||
|
||
describe('"@fantom_mode dev-bytecode" in docblock', () => { | ||
it('should use development builds', () => { | ||
expect(__DEV__).toBe(true); | ||
}); | ||
}); |