Skip to content

Commit 75b688f

Browse files
Riccardo Cipolleschifacebook-github-bot
Riccardo Cipolleschi
authored andcommitted
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
1 parent 0045863 commit 75b688f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/react-native-codegen/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,10 @@ yarn add --dev react-native-codegen
1212

1313
[version-badge]: https://img.shields.io/npm/v/react-native-codegen?style=flat-square
1414
[package]: https://www.npmjs.com/package/react-native-codegen
15+
16+
## Testing
17+
18+
To run the tests in this package, run the following commands from the react Native root folder:
19+
20+
1. `yarn` to install the dependencies. You just need to run this once
21+
2. `yarn jest react-native-codegen`.

0 commit comments

Comments
 (0)