1 | import React from 'react'
|
2 | import 'jest-styled-components'
|
3 |
|
4 | import { Video } from 'SRC'
|
5 |
|
6 | const { shallowWithTheme } = global
|
7 |
|
8 | describe('(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 |