Skip to content

Commit

Permalink
fix: tests [WTEL-3902]
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohvinov committed Dec 8, 2023
1 parent 070ccdc commit a0459af
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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);
});
});

0 comments on commit a0459af

Please sign in to comment.