Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Youtube RelatedVideos and NextUpVideos test
import React from 'react';
import {shallow} from 'enzyme';
import {NextUpVideo} from '../NextUpVideo';
describe('NextUpVideo', () => {
test('renders', () => {
const wrapper = shallow(<NextUpVideo/>);
expect(wrapper).toMatchSnapshot();
});
});
import React from 'react';
import {shallow} from 'enzyme';
import {RelatedVideos} from '../RelatedVideos';
describe('RelatedVideos', () => {
test('renders', () => {
const wrapper = shallow(<RelatedVideos/>);
expect(wrapper).toMatchSnapshot();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.