UNPKG

@rocketsofawesome/mirage

Version:

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

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