Created
October 14, 2018 16:42
-
-
Save productioncoder/a47de633c16b0974abd137b6ccb122d1 to your computer and use it in GitHub Desktop.
Youtube HomeContent snapshot test
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 {shallow} from 'enzyme'; | |
import {HomeContent} from '../HomeContent'; | |
import React from 'react'; | |
describe('HomeContent', () => { | |
test('renders', () => { | |
const wrapper = shallow(<HomeContent/>); | |
expect(wrapper).toMatchSnapshot(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment