UNPKG

@rocketsofawesome/mirage

Version:

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

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