import React from 'react';

import Video from './index';

const data = {
  videoId: 'abc',
};

describe('Video', () => {
  const defaultElement = <Video {...data} />;
  let wrapper;

  beforeEach(() => {
    wrapper = shallow(defaultElement);
  });

  it('should render correctly', () => {
    expect(wrapper).toMatchSnapshot();
  });
});
