Fix Jest mocks for NetInfo module.
Fix Jest mocks for NetInfo module.

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

dikaiosune/react-native,rickbeerendonk/react-native,janicduplessis/react-native,jevakallio/react-native,ptmt/react-native-macos,janicduplessis/react-native,exponent/react-native,hammerandchisel/react-native,pandiaraj44/react-native,ptmt/react-native-macos,dikaiosune/react-native,facebook/react-native,myntra/react-native,exponent/react-native,facebook/react-native,kesha-antonov/react-native,hoastoolshop/react-native,hoastoolshop/react-native,exponentjs/react-native,Bhullnatik/react-native,ptmt/react-native-macos,hammerandchisel/react-native,ptmt/react-native-macos,hoangpham95/react-native,dikaiosune/react-native,myntra/react-native,kesha-antonov/react-native,jevakallio/react-native,facebook/react-native,hoastoolshop/react-native,myntra/react-native,Bhullnatik/react-native,pandiaraj44/react-native,javache/react-native,jevakallio/react-native,facebook/react-native,exponentjs/react-native,janicduplessis/react-native,kesha-antonov/react-native,rickbeerendonk/react-native,janicduplessis/react-native,facebook/react-native,arthuralee/react-native,kesha-antonov/react-native,janicduplessis/react-native,javache/react-native,dikaiosune/react-native,myntra/react-native,Bhullnatik/react-native,jevakallio/react-native,Bhullnatik/react-native,dikaiosune/react-native,exponentjs/react-native,rickbeerendonk/react-native,hoangpham95/react-native,pandiaraj44/react-native,rickbeerendonk/react-native,facebook/react-native,myntra/react-native,janicduplessis/react-native,facebook/react-native,hoangpham95/react-native,jevakallio/react-native,exponentjs/react-native,arthuralee/react-native,Bhullnatik/react-native,pandiaraj44/react-native,facebook/react-native,exponent/react-native,hoangpham95/react-native,rickbeerendonk/react-native,rickbeerendonk/react-native,exponent/react-native,Bhullnatik/react-native,hoastoolshop/react-native,kesha-antonov/react-native,hammerandchisel/react-native,exponent/react-native,pandiaraj44/react-native,javache/react-native,javache/react-native,hoastoolshop/react-native,exponentjs/react-native,arthuralee/react-native,pandiaraj44/react-native,dikaiosune/react-native,jevakallio/react-native,javache/react-native,arthuralee/react-native,javache/react-native,myntra/react-native,hoastoolshop/react-native,hoangpham95/react-native,hammerandchisel/react-native,janicduplessis/react-native,jevakallio/react-native,kesha-antonov/react-native,javache/react-native,kesha-antonov/react-native,hoastoolshop/react-native,exponentjs/react-native,facebook/react-native,ptmt/react-native-macos,ptmt/react-native-macos,exponent/react-native,javache/react-native,jevakallio/react-native,dikaiosune/react-native,pandiaraj44/react-native,pandiaraj44/react-native,jevakallio/react-native,Bhullnatik/react-native,ptmt/react-native-macos,rickbeerendonk/react-native,hammerandchisel/react-native,hammerandchisel/react-native,myntra/react-native,rickbeerendonk/react-native,hammerandchisel/react-native,rickbeerendonk/react-native,dikaiosune/react-native,hoangpham95/react-native,myntra/react-native,hoastoolshop/react-native,hoangpham95/react-native,ptmt/react-native-macos,myntra/react-native,exponent/react-native,kesha-antonov/react-native,javache/react-native,exponent/react-native,arthuralee/react-native,hammerandchisel/react-native,janicduplessis/react-native,hoangpham95/react-native,kesha-antonov/react-native,exponentjs/react-native,exponentjs/react-native,Bhullnatik/react-native