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