Add basic react-navigator usage
This commit is contained in:
parent
1a1d313801
commit
efe65e70d7
7 changed files with 165 additions and 11 deletions
|
@ -4,11 +4,13 @@
|
|||
|
||||
import 'react-native';
|
||||
import React from 'react';
|
||||
import App from '../App';
|
||||
import App from '../src/App';
|
||||
|
||||
// Note: test renderer must be required after react-native.
|
||||
import renderer from 'react-test-renderer';
|
||||
|
||||
it('renders correctly', () => {
|
||||
renderer.create(<App />);
|
||||
renderer.act(() => {
|
||||
renderer.create(<App />);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue