react-native/jest
Mike Grabowski 1af390be19 Update references to the CLI (#23052)
Summary:
This updates React Native to use latest CLI. We also create Metro configuration, because CLI looks for React Native in "node_modules" by default. Since we are running React Native from source, it will fail to find required files.

To avoid hacky logic to detect if we are running from source backed into the CLI, I decided to leverage the Metro configuration instead.
Pull Request resolved: https://github.com/facebook/react-native/pull/23052

Reviewed By: rickhanlonii

Differential Revision: D13719938

Pulled By: cpojer

fbshipit-source-id: 1f40a40b3cdbb07ccd42daf75feb457556d3e40f
2019-01-21 09:13:08 -08:00
..
__tests__ Add tests for out-of-tree platform support (#20932) 2018-09-27 13:19:32 -07:00
MockNativeMethods.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
assetFileTransformer.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
hasteImpl.js Update references to the CLI (#23052) 2019-01-21 09:13:08 -08:00
mockComponent.js use requireActual and requireMock from jest instead of require (#21849) 2018-10-18 15:32:15 -07:00
preprocessor.js Update references to the CLI (#23052) 2019-01-21 09:13:08 -08:00
renderer.js Fix ActivityIndicator snapshot test, add toMatchShallowSnapshot 2018-12-05 17:23:42 -08:00
setup.js Fix Jest mocks 2018-12-30 13:31:16 -08:00