diff options
Diffstat (limited to 'tests/unit/Global/InfoTooltip.spec.js')
-rw-r--r-- | tests/unit/Global/InfoTooltip.spec.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/unit/Global/InfoTooltip.spec.js b/tests/unit/Global/InfoTooltip.spec.js index 90cb301e..37290f67 100644 --- a/tests/unit/Global/InfoTooltip.spec.js +++ b/tests/unit/Global/InfoTooltip.spec.js @@ -1,7 +1,9 @@ import { mount, createLocalVue } from '@vue/test-utils'; import InfoTooltip from '@/components/Global/InfoTooltip'; +import { BootstrapVue } from 'bootstrap-vue'; const localVue = createLocalVue(); +localVue.use(BootstrapVue); describe('InfoTooltip.vue', () => { const wrapper = mount(InfoTooltip, { @@ -16,12 +18,6 @@ describe('InfoTooltip.vue', () => { it('should exist', () => { expect(wrapper.exists()).toBe(true); }); - it('should render title attribute for button', () => { - expect(wrapper.attributes('title')).toBe('title'); - }); - it('should render icon-tooltip element', () => { - expect(wrapper.find('icon-tooltip').exists()).toBe(true); - }); it('should render correctly', () => { expect(wrapper.element).toMatchSnapshot(); }); |