diff --git a/js/components/__tests__/__snapshots__/confirmation_popover.test.js.snap b/js/components/__tests__/__snapshots__/confirmation_popover.test.js.snap index 232dfb2f..2146b1aa 100644 --- a/js/components/__tests__/__snapshots__/confirmation_popover.test.js.snap +++ b/js/components/__tests__/__snapshots__/confirmation_popover.test.js.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ConfirmationPopover matches snapshot 1`] = ` `; +exports[`ConfirmationPopover matches snapshot 1`] = ` `; diff --git a/js/components/__tests__/confirmation_popover.test.js b/js/components/__tests__/confirmation_popover.test.js index d82564e5..72369e00 100644 --- a/js/components/__tests__/confirmation_popover.test.js +++ b/js/components/__tests__/confirmation_popover.test.js @@ -1,11 +1,15 @@ -import { shallowMount } from '@vue/test-utils' +import { createLocalVue, shallowMount } from '@vue/test-utils' +import VTooltip from 'v-tooltip' import ConfirmationPopover from '../confirmation_popover' +const localVue = createLocalVue() +localVue.use(VTooltip) describe('ConfirmationPopover', () => { it('matches snapshot', () => { const wrapper = shallowMount(ConfirmationPopover, { + localVue, propsData: { action: '/some-url', btn_text: 'Do something dangerous',