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