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.
13 lines
387 B
13 lines
387 B
7 years ago
|
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')
|
||
|
})
|
||
|
})
|