Browse Source

test AnimatedCheckmark

renovate/lint-staged-8.x
Jonathan Zobro 7 years ago
parent
commit
c9cda7d37e
  1. 14
      test/components/AnimatedCheckmark.spec.js

14
test/components/AnimatedCheckmark.spec.js

@ -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…
Cancel
Save