Browse Source
Merge pull request #794 from mrfelton/test/fix-failing-test
test(unit): fix failing test case
renovate/lint-staged-8.x
JimmyMow
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
test/unit/components/LoadingBolt.spec.js
|
|
@ -11,7 +11,7 @@ import { mountWithIntl } from '../__helpers__/intl-enzyme-test-helper' |
|
|
|
configure({ adapter: new Adapter() }) |
|
|
|
|
|
|
|
describe('component.LoadingBolt', () => { |
|
|
|
const el = mountWithIntl(<LoadingBolt />) |
|
|
|
const el = mountWithIntl(<LoadingBolt theme="dark" />) |
|
|
|
it('should show defaults', () => { |
|
|
|
expect(el.find(Isvg).props().src).toContain(cloudboltIcon) |
|
|
|
expect(el.text()).toContain('loading') |
|
|
|