fix: use actual react-native instead of homegrown mocks (#36)

<!-- Please provide enough information so that others can review your pull request. -->
<!-- Keep pull requests small and focused on a single change. -->

### Summary

This actually uncovered some bugs, like lack of `onDoublePress` (lol XD) and enabled us to have better snapshots for deep rendering.

### Test plan

no new tests
This commit is contained in:
Michał Pierzchała
2018-10-16 18:51:01 +02:00
committed by GitHub
parent 07d3be1c51
commit 03e2c4b0f2
14 changed files with 1882 additions and 138 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// @flow
/* eslint-disable react/no-multi-comp */
import React from 'react';
import { View, Text, TouchableOpacity } from '../__mocks__/reactNativeMock';
import { View, Text, TouchableOpacity } from 'react-native';
import { render } from '..';
class Button extends React.Component<*> {