react-native/Libraries/Components
Álvaro Medina Ballester 0c8a3e4f79 closes #13034 Fixes the ScrollViewMock methods
Summary:
Solves https://github.com/facebook/react-native/issues/13034

Now the `ScrollView` mock has all the methods available.

React Native tests pass.

To test this specific part of the code,

```sh
$ react-native init Test
$ cd Test/
$ yarn add react-navigation
```

Then, add a simple project that uses `react-navigation`:

```js
import React from 'react';
import { Text } from 'react-native';
import { StackNavigator } from 'react-navigation';

class HomeScreen extends React.Component {
  static navigationOptions = {
    title: 'Welcome',
  };
  render() {
    return <Text>Hello, Navigation!</Text>;
  }
}

const SimpleApp = StackNavigator({
  Home: { screen: HomeScreen },
});

export default SimpleApp
```

Run the default render tests:

```js
$ npm run test
```
Closes https://github.com/facebook/react-native/pull/13048

Differential Revision: D4746028

Pulled By: shergin

fbshipit-source-id: cb1791978d15be7f5d14b7b22979388066ad6caa
2017-11-28 12:32:37 -08:00
..
AccessibilityInfo Migrate to new documentation format 2017-11-16 17:04:45 -08:00
ActivityIndicator Migrate to new documentation format 2017-11-16 17:04:45 -08:00
AppleTV Update remaining PropTypes references 2017-06-12 16:03:09 -07:00
CheckBox Docs: Add example to CheckBox documentation 2017-11-07 11:06:44 -08:00
Clipboard Remove deprecated APIs and modules 2016-10-11 07:43:52 -07:00
DatePicker - Adding locale prop to DatePickerIOS 2017-11-04 14:40:24 -07:00
DatePickerAndroid Fixed a typo in open function documentation 2017-04-18 15:36:20 -07:00
DrawerAndroid Expose StatusBar height and fix StatusBar example - T13591448 2017-08-15 11:11:39 -07:00
Keyboard improve docs for KeyboardAvoidingView 2017-11-07 11:57:22 -08:00
MaskedView Wrong name 2017-09-29 15:03:23 -07:00
Navigation @allow-large-files Flow v0.54.0 2017-09-06 03:33:43 -07:00
Picker Upgrade fbsource/xplat/js to Flow v0.53.0 2017-08-17 18:45:01 -07:00
ProgressBarAndroid Removed ProgressBarAndroid.android deprecation warning 2017-10-18 17:01:04 -07:00
ProgressViewIOS Fix Flow errors at declaration of most major library components 2017-10-20 03:50:25 -07:00
RefreshControl Fix Flow errors at declaration of most major library components 2017-10-20 03:50:25 -07:00
SafeAreaView Fix typo in SafeArea documentation 2017-11-14 10:32:15 -08:00
ScrollView closes #13034 Fixes the ScrollViewMock methods 2017-11-28 12:32:37 -08:00
SegmentedControlIOS Fix Flow errors at declaration of most major library components 2017-10-20 03:50:25 -07:00
Slider Docs: Improve documentation of Slider (add example) 2017-10-31 09:42:07 -07:00
StatusBar Upgrade fbsource/xplat/js to Flow v0.53.0 2017-08-17 18:45:01 -07:00
Switch Fix Flow errors at declaration of most major library components 2017-10-20 03:50:25 -07:00
TabBarIOS Fix $FlowFixMes from TabBarIOS 2017-11-01 19:17:11 -07:00
TextInput @allow-large-files Flow 0.58 upgrade for xplat/js 2017-11-02 10:51:14 -07:00
TimePickerAndroid Add TimePicker modes 2017-10-08 12:38:45 -07:00
ToastAndroid Fix typo 2017-09-05 12:48:16 -07:00
ToolbarAndroid Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
Touchable @allow-large-files Flow 0.58 upgrade for xplat/js 2017-11-02 10:51:14 -07:00
UnimplementedViews Upgrade fbsource/xplat/js to Flow v0.53.0 2017-08-17 18:45:01 -07:00
View Migrate to new documentation format 2017-11-16 17:04:45 -08:00
ViewPager Add description to require a key for each child in ViewPageAndroid 2017-10-18 01:00:15 -07:00
WebView Run eslint --fix 2017-10-09 17:46:44 -07:00
Button.js Apple TV: TouchableOpacity and Button need hasTVPreferredFocus support 2017-10-18 12:18:12 -07:00
LazyRenderer.js Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
ScrollResponder.js Handle touchCancel properly in ScrollResponder 2017-10-19 15:30:44 -07:00
StaticContainer.react.js Upgrade fbsource/xplat/js to Flow v0.53.0 2017-08-17 18:45:01 -07:00
StaticRenderer.js Upgrade fbsource/xplat/js to Flow v0.53.0 2017-08-17 18:45:01 -07:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00