Created
January 21, 2018 21:46
-
-
Save 15Dkatz/0214c33084a385939fa02bb466c2a999 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 from 'react'; | |
import { shallow } from 'enzyme'; | |
import App from './App'; | |
describe('App', () => { | |
const app = shallow(<App />); | |
it('renders the title', () => { | |
expect(app.find('h1').exists()).toBe(true); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment