Fix ReactTestApp imports for React Native 0.25
This commit is contained in:
parent
51b7a43c40
commit
55bbcc9e56
|
@ -17,7 +17,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////
|
||||
'use strict';
|
||||
|
||||
const React = require('react-native');
|
||||
const React = require('react');
|
||||
const Realm = require('realm');
|
||||
const RealmTests = require('realm-tests');
|
||||
const builder = require('xmlbuilder');
|
||||
|
@ -30,7 +30,7 @@ const {
|
|||
Text,
|
||||
View,
|
||||
TouchableNativeFeedback,
|
||||
} = React;
|
||||
} = require('react-native');
|
||||
|
||||
RealmTests.registerTests({
|
||||
ListViewTest: require('./tests/listview-test'),
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
const React = require('react-native');
|
||||
const React = require('react');
|
||||
const Realm = require('realm');
|
||||
const tests = require('./tests');
|
||||
|
||||
|
@ -28,7 +28,7 @@ const {
|
|||
Text,
|
||||
TouchableHighlight,
|
||||
View,
|
||||
} = React;
|
||||
} = require('react-native');
|
||||
|
||||
class ReactTests extends React.Component {
|
||||
render() {
|
||||
|
|
Loading…
Reference in New Issue