react-native-macos/jest
Ramanpreet Nara 9db0050635 Fix Jest mocks
Summary: Since we started relying on NativeModules' getConstants() method to access constants, we need to update our jest mocks of these NativeModules, so that the tests still pass. I do that in this diff.

Reviewed By: fkgozali

Differential Revision: D13561376

fbshipit-source-id: eaef3de82d842fd97d04be741d55bdded73c6a11
2018-12-30 13:31:16 -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 Fix flow types 2018-12-10 08:36:29 -08:00
mockComponent.js use requireActual and requireMock from jest instead of require (#21849) 2018-10-18 15:32:15 -07:00
preprocessor.js Remove metro dependency from react native 2018-12-14 08:15:09 -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