UNPKG

@rocketsofawesome/mirage

Version:

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

20 lines (14 loc) 457 B
import React from 'react' import { css } from 'styled-components' import 'jest-styled-components' import { SubscriptionSection } from 'SRC' const { shallowWithTheme } = global describe('(Styled Component) SubscriptionSection', () => { const createSubscriptionSection = (props) => { return shallowWithTheme(<SubscriptionSection />) } test('matching the snapshot', () => { expect(createSubscriptionSection()) .toMatchSnapshot() }) })