7fb3a9229d
Summary: Jest mock for `NetInfo.getConnectionInfo()` is missing. Tests are fail with error message: ``` TypeError: _reactNative.NetInfo.getConnectionInfo is not a function ``` And cleaned code in this files for unified code styles. Run test with usage of `NetInfo.getConnectionInfo()` [GENERAL] [BUGFIX] [jest/setup.js] - Fix Jest mocks for NetInfo module Closes https://github.com/facebook/react-native/pull/16722 Differential Revision: D6298133 Pulled By: hramos fbshipit-source-id: 589cf6fed93965e7a09823015f2793f5c68a9c3b |
||
---|---|---|
.. | ||
.eslintrc | ||
assetFileTransformer.js | ||
mockComponent.js | ||
preprocessor.js | ||
setup.js |