Skip to content

Instantly share code, notes, and snippets.

@timgivois
Last active July 28, 2019 03:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timgivois/a4e6fe5bdeb0aa937b3260551c88c5ba to your computer and use it in GitHub Desktop.
Save timgivois/a4e6fe5bdeb0aa937b3260551c88c5ba to your computer and use it in GitHub Desktop.
import React from 'react'
import { shallow } from 'enzyme'
import App from './App'
describe('App', () => {
it('renders without crashing', () => {
const wrapper = shallow(<App />);
expect(wrapper).toBeTruthy();
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment