UNPKG

@rocketsofawesome/mirage

Version:

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

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