UNPKG

355 BJavaScriptView Raw
1import React from 'react'
2import 'jest-styled-components'
3
4import { Video } from 'SRC'
5
6const { shallowWithTheme } = global
7
8describe('(Component) Video', () => {
9 const createVideo = (props = {}) => {
10 return shallowWithTheme(<Video {...props} />)
11 }
12
13 test('matching the snapshot', () => {
14 expect(createVideo())
15 .toMatchSnapshot()
16 })
17})
18
\No newline at end of file