UNPKG

@rocketsofawesome/mirage

Version:

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

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