This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
react-native-experiment/__tests__/index.android.js

13 lines
284 B
JavaScript
Raw Permalink Normal View History

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 />
);
});