-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gate Platform.isTesting via __DEV__ on the native level (#38339)
Summary: Pull Request resolved: #38339 ## Changelog: [Internal] - In D13050583, the `Platform.isTesting` was unconditionally forced to `false` in `__DEV__` on JS side. On some platforms, we may want to run tests in the release mode. This hoists these gatings down to the corresponding platforms' native modules. Reviewed By: ryancat Differential Revision: D47438069 fbshipit-source-id: 5bae3df9873f659f65179df93e727108d0062047
- Loading branch information
1 parent
d9c8cd3
commit ecb58a1
Showing
4 changed files
with
8 additions
and
12 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
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