react-native/jest
Christoph Pojer 487171fd89 Mock requireNativeComponent so manual mocking of UIManager properties isn't needed
Summary:
Fixes warnings such as `Warning: Native component for "RCTView" does not exist` when you don't mock the native view class on `UIManager`.

**Test plan (required)**

Run `npm test` with it and without it, notice that warnings are gone and results are the same.

cc cpojer
Closes https://github.com/facebook/react-native/pull/10486

Differential Revision: D4063500

Pulled By: cpojer

fbshipit-source-id: f6bdda1fdd1ad87958f435071d353684cb812af4
2016-10-22 20:28:42 -07:00
..
mockComponent.js Moving the jest configuration from jest-react-native to react native. 2016-10-17 08:44:05 -07:00
preprocessor.js Moving the jest configuration from jest-react-native to react native. 2016-10-17 08:44:05 -07:00
setup.js Mock requireNativeComponent so manual mocking of UIManager properties isn't needed 2016-10-22 20:28:42 -07:00