UNPKG

@rocketsofawesome/mirage

Version:

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

18 lines (13 loc) 467 B
import React from 'react' import 'jest-styled-components' import { ValuePropSection } from 'SRC' const { shallowWithTheme } = global describe('(Styled Component) ValuePropSection', () => { const createValuePropSection = (props) => { return shallowWithTheme(<ValuePropSection evergreenPromoItemCount='6' evergreenPromoPercent='15' {...props} />) } test('matching the snapshot', () => { expect(createValuePropSection()) .toMatchSnapshot() }) })