Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test asserting shape of public JS API (#42265)
Summary: Pull Request resolved: #42265 Adds a snapshot test against the `react-native` package which emits the shape of all Flow-typed modules under `Libraries/`, as an approximation of the public JS API. This provides: - Visibility for maintainers on any PR which changes the shape of the public API. - An at-a-glance diff of changed APIs between React Native versions (useful for library integrators and the Release Crew). Note — **workflow change**: Maintainers modifying public files/function signatures under Libraries/ will need to run `yarn jest -u` and commit the updated snapshot changes. Changelog: [Internal] Reviewed By: TheSavior, philIip, mdvacca Differential Revision: D52729777 fbshipit-source-id: 90ca2924b50205485b6d49e52a2889d8e00a43b9
- Loading branch information