Created
March 13, 2018 10:07
-
-
Save fakiolinho/00118b0085d93304f11b3d1d7faedd3f 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 Card from './'; | |
| describe('test Card component', () => { | |
| it('should render the component', () => { | |
| const enzymeWrapper = shallow(<Card />); | |
| expect(enzymeWrapper).toHaveLength(1); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment