import React from 'react';
import { render } from 'react-testing-library';
import Lens from '../../lib/Lens';

describe('Lens', () => {
  it('Should render lens component with video', async () => {
    const component = render(<Lens video={true} source="https://www.youtube.com/watch?v=v-I7bwvmnfg" />);
    expect(component.getByTestId('video-player')).toBeDefined;
    component.unmount();
  });
});