UNPKG

@rocketsofawesome/mirage

Version:

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

18 lines (13 loc) 373 B
import React from 'react' import 'jest-styled-components' import { GrayAIcon } from 'SRC' const { mountWithTheme } = global describe('(Styled Component) GrayAIcon', () => { const createGrayAIcon = (props) => { return mountWithTheme(<GrayAIcon {...props} />) } test('matching the snapshot', () => { expect(createGrayAIcon()) .toMatchSnapshot() }) })