13 lines
267 B
JavaScript
13 lines
267 B
JavaScript
|
import 'react-native';
|
||
|
import React from 'react';
|
||
|
import App from '../App';
|
||
|
|
||
|
// Note: test renderer must be required after react-native.
|
||
|
import renderer from 'react-test-renderer';
|
||
|
|
||
|
it('renders correctly', () => {
|
||
|
const tree = renderer.create(
|
||
|
<App />
|
||
|
);
|
||
|
});
|