react-native/packages/react-native-codegen
Eli White 3111473d57 Add test for native module returning enum (#47229)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47229

Adding a test case for an enum value in a fromNative position

Changelog: [Internal]

Reviewed By: makovkastar

Differential Revision: D65038107

fbshipit-source-id: ed323d9a8b226be3ff571c86fda617cabc17cdb9
2024-10-28 12:03:33 -07:00
..
e2e Breaking: Remove BaseViewManagerInterface (#46809) 2024-10-09 14:49:01 -07:00
scripts chore: replace mkdirp with mkdir fs (#46388) 2024-09-17 07:03:44 -07:00
src Add test for native module returning enum (#47229) 2024-10-28 12:03:33 -07:00
.babelrc fix: deprecated babel plugins issue fixed (#44416) 2024-05-08 12:51:00 -07:00
.prettierrc
package.json Update hermes-parser and related packages in fbsource to 0.24.0 (#46802) 2024-10-03 08:20:16 -07:00
README.md Revert D49370200: Migrate codegen to shared build setup, remove package build pre-step from RNTester 2023-10-23 12:00:54 -07:00

@react-native/codegen

Version

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:

  1. yarn to install the dependencies. You just need to run this once
  2. yarn jest packages/react-native-codegen.