Created
February 3, 2020 23:09
-
-
Save sstur/c55effbded26a27b193deb33d3ad70b3 to your computer and use it in GitHub Desktop.
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 App from '../App'; | |
// Note: test renderer must be required after react-native. | |
import { createRenderer } from 'react-test-renderer/shallow'; | |
it('should render correctly', () => { | |
let renderer = createRenderer(); | |
renderer.render(<App />); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment