mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
12ced22f70
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51502 While working on a case for Editor on mac, it took me a while to figure out what enum was the root cause: {F1978470518} Adding the blaming enum name in the error message would have made my life much easier. ## Changelog: [GENERAL][Added] - Improve error messages when enum members are missing Reviewed By: rshest Differential Revision: D75141414 fbshipit-source-id: 3625d817b218788891252add225f8fffb99e3145
@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.