react-native/jest
Spencer Ahrens 5537055bf8 Add some `Fake`s for easier interaction snapshot testing
Summary:
`Fake` components are simplified so snapshots are stable and reliable, and references are exported
so that interactions like `onRefresh` and `onScroll` can be called manually. Currently there is just
one global export for each class, but we may change this in the future if we need to manage multiple
`Fake`s of the same type in one render tree.

Right now these must be installed explicitly, but I might move them into `__mocks__` folders if it
seems reasonable to make them defaults.

Reviewed By: cpojer

Differential Revision: D4318207

fbshipit-source-id: 62802353a98b09ca1c80804ef7201ea63091f94a
2016-12-20 15:58:30 -08:00
..
mockComponent.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
preprocessor.js Moving the jest configuration from jest-react-native to react native. 2016-10-17 08:44:05 -07:00
setup.js Add some `Fake`s for easier interaction snapshot testing 2016-12-20 15:58:30 -08:00