diff --git a/src/modules/routing/modules/flow/components/__tests__/create-flow-popup.spec.js b/src/modules/routing/modules/flow/components/__tests__/create-flow-popup.spec.js index e1ae7180b..4da42e26c 100644 --- a/src/modules/routing/modules/flow/components/__tests__/create-flow-popup.spec.js +++ b/src/modules/routing/modules/flow/components/__tests__/create-flow-popup.spec.js @@ -1,9 +1,21 @@ import { shallowMount } from '@vue/test-utils'; +import { createStore } from 'vuex'; +import appearance from '../../../../../appearance/store/appearance'; import CreateFlowPopup from '../create-flow-popup.vue'; describe('CreateFlowPopup', () => { + const store = createStore({ + modules: { + appearance, + }, + }); + it('renders a component', () => { - const wrapper = shallowMount(CreateFlowPopup); + const wrapper = shallowMount(CreateFlowPopup, { + global: { + plugins: [store], + }, + }); expect(wrapper.isVisible()).toBe(true); }); });