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
parent
commit
95e28c58b7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/unit/components/LoadingBolt.spec.js

2
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')

Loading…
Cancel
Save