Tom Coleman fe2c868eec Added a vanilla React Native example app.
For #1012. Includes storyshots and the use of addon-options
2017-06-07 21:17:55 +10:00

13 lines
284 B
JavaScript

import 'react-native';
import React from 'react';
import Index from '../index.android.js';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
it('renders correctly', () => {
const tree = renderer.create(
<Index />
);
});