1 changed files with 14 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||
import React from 'react' |
|||
import { shallow } from 'enzyme' |
|||
import Isvg from 'react-inlinesvg' |
|||
|
|||
import AnimatedCheckmark from '../../app/components/AnimatedCheckmark' |
|||
|
|||
describe('component.AnimatedCheckmark', () => { |
|||
describe('default', () => { |
|||
it('should render default component', () => { |
|||
const el = shallow(<AnimatedCheckmark />) |
|||
expect(el.find(Isvg)).toHaveLength(1) |
|||
}) |
|||
}) |
|||
}) |
Loading…
Reference in new issue