mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
f628edc502
Summary: This PR is part of https://github.com/facebook/react-native/issues/34872 This PR extracts MoreThanOneModuleInterfaceParserError exception to a separate function inside an error-utils.js file ## Changelog [Internal] [Changed] - Extract MoreThanOneModuleInterfaceParserError to a seperate function inside error-utils.js Pull Request resolved: https://github.com/facebook/react-native/pull/34920 Test Plan: <img width="297" alt="image" src="https://user-images.githubusercontent.com/18408823/194859284-7d3ff330-c644-472e-9ae0-3b9444bc12e8.png"> Reviewed By: cortinico Differential Revision: D40226575 Pulled By: cipolleschi fbshipit-source-id: 01e581abfae1ffe40e92bed8c9bedd6fe09e1aab
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.