Jonathan Zobro
7 years ago
2 changed files with 13 additions and 1 deletions
@ -0,0 +1,12 @@ |
|||
import React from 'react' |
|||
import { shallow } from 'enzyme' |
|||
import Isvg from 'react-inlinesvg' |
|||
import LoadingBolt from '../../app/components/LoadingBolt' |
|||
|
|||
describe('component.LoadingBolt', () => { |
|||
const el = shallow(<LoadingBolt />) |
|||
it('should show defaults', () => { |
|||
expect(el.find(Isvg).props().src).toContain('cloudbolt.svg') |
|||
expect(el.text()).toContain('loading') |
|||
}) |
|||
}) |
Loading…
Reference in new issue