@rocketsofawesome/mirage
Version:
[Live Demo of the Pattern Library](https://rocketsofawesome.github.io/mirage/)
19 lines (14 loc) • 472 B
JavaScript
import React from 'react'
import { css } from 'styled-components'
import 'jest-styled-components'
import { InformationalSection } from 'SRC'
const { shallowWithTheme } = global
describe('(Styled component) InformationalSection', () => {
const createInformationalSection = (props) => {
return shallowWithTheme(<InformationalSection {...props} />)
}
test('matching the snapshot', () => {
expect(createInformationalSection())
.toMatchSnapshot()
})
})