mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1a1795a537
Summary: Fixes https://github.com/facebook/react-native/issues/44632 ## Changelog: [GENERAL] [FIXED] - [codegen] Fixes enum codegen value cases Pull Request resolved: https://github.com/facebook/react-native/pull/44654 Test Plan: https://github.com/facebook/react-native/issues/44632 Reviewed By: cipolleschi, dmytrorykun Differential Revision: D58135645 Pulled By: cortinico fbshipit-source-id: 5c0634ef1d1d7375d2ecfcf7f916d67fd39b7300
@react-native/codegen
Installation
yarn add --dev @react-native/codegen
Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
Testing
To run the tests in this package, run the following commands from the React Native root folder:
yarnto install the dependencies. You just need to run this onceyarn jest packages/react-native-codegen.