UNPKG

@rocketsofawesome/mirage

Version:

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

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