Files
react-native/packages/react-native-codegen/README.md
T
Riccardo Cipolleschi 75b688fba8 Improve readme with Testing instruction
Summary:
Currently, it is not clear how to run codegen tests in the OSS.

## Changelog
[General][Added] - Add instructions about how to add tests in the OSS

Reviewed By: cortinico

Differential Revision: D40020907

fbshipit-source-id: 073ec8bf08d2a9e8b26287763dd881371ecf561d
2022-10-03 10:29:23 -07:00

22 lines
600 B
Markdown

# react-native-codegen
[![Version][version-badge]][package]
## 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*
[version-badge]: https://img.shields.io/npm/v/react-native-codegen?style=flat-square
[package]: https://www.npmjs.com/package/react-native-codegen
## 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 react-native-codegen`.