Created
August 19, 2017 11:28
-
-
Save erika-dike/84e5addcd6b7af4faf6da34943513f31 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 renderer from 'react-test-renderer'; | |
| import AboutUs from './AboutUs'; | |
| it('renders correctly', () => { | |
| const tree = renderer.create(<AboutUs />).toJSON(); | |
| expect(tree).toMatchSnapshot(); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment