react-native-firebase/example/demo/__tests__/index.android.js

13 lines
284 B
JavaScript
Raw Normal View History

2017-07-04 22:43:50 +00:00
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 />
);
});