Created
March 7, 2017 09:25
-
-
Save rj76/ce069caf6c60735dcb5f15cf3a346300 to your computer and use it in GitHub Desktop.
basic test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 /> | |
); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment