Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Youtube VideoPreview unit test
import React from 'react';
import {shallow} from 'enzyme';
import {VideoPreview} from '../VideoPreview';
describe('VideoPreview', () => {
test('renders', () => {
const wrapper = shallow(<VideoPreview/>);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment