-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test asserting shape of public JS API #42265
Conversation
This pull request was exported from Phabricator. Differential Revision: D52729777 |
e3a4654
to
d1230f1
Compare
This pull request was exported from Phabricator. Differential Revision: D52729777 |
Summary: 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
d1230f1
to
4906f88
Compare
This pull request was exported from Phabricator. Differential Revision: D52729777 |
Base commit: e859f6c |
Summary: 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
4906f88
to
1dd0112
Compare
This pull request was exported from Phabricator. Differential Revision: D52729777 |
Summary: 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
Summary: 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
1dd0112
to
ed922eb
Compare
This pull request was exported from Phabricator. Differential Revision: D52729777 |
ed922eb
to
7955351
Compare
This pull request was exported from Phabricator. Differential Revision: D52729777 |
This pull request has been merged in 9eb5833. |
Summary:
Adds a snapshot test against the
react-native
package which emits the shape of all Flow-typed modules underLibraries/
, as an approximation of the public JS API.This provides:
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]
Differential Revision: D52729777