mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 20:44:10 +00:00
a477aec10d
Summary: This is the manually imported version of https://github.com/facebook/react-native/pull/10786 This was mostly straigthforward by replacing the local-cli folder with the version I had in my local git checkout, plus a few other files I listed with git diff --name-only. Reviewed By: hramos Differential Revision: D4201118 fbshipit-source-id: 4d0fb54b0edda9de1abba427958e420fd2ac105c
13 lines
280 B
JavaScript
13 lines
280 B
JavaScript
import 'react-native';
|
|
import React from 'react';
|
|
import Index from '../index.ios.js';
|
|
|
|
// Note: test renderer must be required after react-native.
|
|
import renderer from 'react-test-renderer';
|
|
|
|
it('renders correctly', () => {
|
|
const tree = renderer.create(
|
|
<Index />
|
|
);
|
|
});
|