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