Marshall Roch
4a48b021d6
upgrade to flow 0.122.0
...
Summary: Changelog: [Internal]
Reviewed By: dsainati1
Differential Revision: D20919782
fbshipit-source-id: 3d5dc54ea4daafb8a1d96cad6c35a2dab4c24097
2020-04-08 15:35:18 -07:00
Daniel Sainati
1beef1e18d
deploy 120 to xplat
...
Summary:
Changelog: [Internal]
bypass-lint
allow-large-files
Reviewed By: mroch
Differential Revision: D20290164
fbshipit-source-id: 6f8633b1a8685b0551757fc4841b82eab77525c5
2020-03-06 11:09:08 -08:00
Logan Daniels
c203ec00e5
Add flow types for ReactTestRenderer
...
Summary: Changelog: [Internal]
Reviewed By: cpojer
Differential Revision: D20260771
fbshipit-source-id: 3935e546ebbc65a1baa9d0a25cff47753f6bc590
2020-03-05 12:01:18 -08:00
Rick Hanlon
b08d972084
Add UI tests for LogBox
...
Summary:
Adds tests for `LogBox/UI`
Changelog: [Internal]
Reviewed By: cpojer
Differential Revision: D17965863
fbshipit-source-id: ffb8c669cf5b1a9fa537f725523db80d3bc4fc77
2019-10-21 21:08:03 -07:00
Logan Daniels
91f139b941
xplat/js/react-native-github
...
Reviewed By: panagosg7
Differential Revision: D16657770
fbshipit-source-id: 4e260842c838a35317515044c54ccf55a083da33
2019-08-09 10:11:15 -07:00
James Ide
59749f527a
Migrate Jest setup scripts from Haste to path-based requires ( #24753 )
...
Summary:
This is another step in moving RN towards standard path-based requires. All the requires in Jest's setup script have been rewritten to use relative requires. This commit uses relative requires instead of `react-native/...` so that if Facebook were to stop syncing out certain folders and therefore remove code from the react-native package, internal code at Facebook would not need to change.
[General] [Changed] - Migrate Jest setup scripts from Haste to path-based requires
Pull Request resolved: https://github.com/facebook/react-native/pull/24753
Differential Revision: D15258238
Pulled By: cpojer
fbshipit-source-id: aa05dc8ea2e4ba195226e8ec7ba6482b7de03240
2019-05-08 06:59:47 -07:00
Rick Hanlon
c5b80062ea
Fix ActivityIndicator snapshot test, add toMatchShallowSnapshot
...
Summary:
This diff adds a custom matcher which will wrap a given component and shallow render it, snapshotting the result with the formatting users will see when they do the same.
I also update the ActivityIndicator test to use this new strategy, and add an additional check that the displayName is set.
For context see:
- https://github.com/facebook/react-native/pull/21950
- https://github.com/rajivshah3/rn-broken-snapshot/blob/broken-example/__tests__/App.spec.js#L3
- https://github.com/facebook/react-native/issues/21937
Reviewed By: TheSavior
Differential Revision: D13326689
fbshipit-source-id: 8ed2302a8aad12962fa2498a46d2502ccfb5c737
2018-12-05 17:23:42 -08:00