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