Created
July 1, 2017 09:12
-
-
Save sanjsanj/283264604024b7e138a89c5b575840da to your computer and use it in GitHub Desktop.
This file contains hidden or 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 from 'react'; | |
import { shallow } from 'enzyme'; | |
import App from './App'; | |
it('App renders without crashing', () => { | |
const component = shallow(<App />); | |
expect(component.exists()).toEqual(true); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment