Commit fb435fb0 authored by clenneville's avatar clenneville

Update spec file

parent da2dc546
import { shallowMount } from '@vue/test-utils'; import { shallowMount } from '@vue/test-utils';
import { GlLoadingIcon, GlButton } from '@gitlab/ui'; import { GlLoadingIcon, GlButton, GlAlert, GlSafeHtmlDirective } from '@gitlab/ui';
import { TEST_HOST } from 'spec/test_constants'; import { TEST_HOST } from 'spec/test_constants';
import TerminalEmptyState from '~/ide/components/terminal/empty_state.vue'; import TerminalEmptyState from '~/ide/components/terminal/empty_state.vue';
...@@ -101,6 +101,6 @@ describe('IDE TerminalEmptyState', () => { ...@@ -101,6 +101,6 @@ describe('IDE TerminalEmptyState', () => {
}); });
expect(wrapper.find(GlButton).props('disabled')).toBe(true); expect(wrapper.find(GlButton).props('disabled')).toBe(true);
expect(wrapper.find('.bs-callout').element.innerHTML).toBe(TEST_HTML_MESSAGE); expect(wrapper.find(GlAlert).element.innerHTML).toBe(TEST_HTML_MESSAGE);
}); });
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment