UNPKG

@rocketsofawesome/mirage

Version:

[Live Demo of the Pattern Library](https://rocketsofawesome.github.io/mirage/)

17 lines (13 loc) 417 B
import React from 'react' import 'jest-styled-components' import { WhiteCheckmark } from 'SRC' const { mountWithTheme } = global describe('(Component) WhiteCheckmark', () => { const createWhiteCheckmark = (props) => { return mountWithTheme(<WhiteCheckmark {...props} />) } test('matching the snapshot', () => { const component = createWhiteCheckmark() expect(component).toMatchSnapshot() }) })