mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
209d019055
Summary: * Added an e2e test fixture with all the supported enum variations * Added H and C file TM generators to the TM e2e tests Changelog: [Internal] Added an e2e test fixture for Enums and .H+.C TM e2e snapshot tests Reviewed By: cipolleschi Differential Revision: D42917330 fbshipit-source-id: 8e4adb86b6eb4e2b29a9e6d0cd6e4fd5b002ad1a
@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 react-native-codegen.