You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import React from 'react'
|
|
|
|
import { shallow } from 'enzyme'
|
|
|
|
import Isvg from 'react-inlinesvg'
|
|
|
|
|
|
|
|
import AnimatedCheckmark from '../../app/components/AnimatedCheckmark'
|
|
|
|
import checkmarkIcon from '../../app/components/AnimatedCheckmark/checkmark.svg'
|
|
|
|
|
|
|
|
describe('component.AnimatedCheckmark', () => {
|
|
|
|
describe('default', () => {
|
|
|
|
it('should render default component', () => {
|
|
|
|
const el = shallow(<AnimatedCheckmark />)
|
|
|
|
expect(el.find(Isvg).props().src).toContain(checkmarkIcon)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|