react-native/jest
uk-ar 11a2a35c63 Fix Jest mocks for Dimensions module
Summary:
Jest mock for Dimensions.get("screen") is missing. Tests fail with error message:

    Invariant Violation: No dimension set for key screen

Run test with usage of Dimensions.get("screen")

[GENERAL] [BUGFIX] [jest/setup.js] - Fix Jest mocks for Dimensions module
Closes https://github.com/facebook/react-native/pull/17017

Differential Revision: D6471719

Pulled By: TheSavior

fbshipit-source-id: de27b2819d088fefe20dfca94ab5672fdec5f0e1
2017-12-03 16:48:17 -08:00
..
.eslintrc Disallow trailing commas in react-native-github 2017-08-17 16:20:04 -07:00
assetFileTransformer.js Fix test for RN asset 2017-09-07 01:55:56 -07:00
mockComponent.js Revert D5409825: [RN] Convert easy files to Prettier 2017-07-12 19:23:58 -07:00
preprocessor.js Rename metro-bundler to metro 2017-11-29 03:35:29 -08:00
setup.js Fix Jest mocks for Dimensions module 2017-12-03 16:48:17 -08:00