Fix ReactTestApp imports for React Native 0.25

This commit is contained in:
Scott Kyle 2016-05-16 13:24:44 -07:00
parent 51b7a43c40
commit 55bbcc9e56
2 changed files with 4 additions and 4 deletions

View File

@ -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'),

View File

@ -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() {