Skip to content

Commit

Permalink
Improve readme with Testing instruction
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Riccardo Cipolleschi authored and facebook-github-bot committed Oct 3, 2022
1 parent 0045863 commit 75b688f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/react-native-codegen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ yarn add --dev react-native-codegen

[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`.

0 comments on commit 75b688f

Please sign in to comment.