storj/web/satellite/tests/unit/ignore/onboardingTour/OverviewStep.spec.ts
Vitalii bb38418e97 web/satellite: migrate OverviewStep onboarding component to use SFC composition api
Change-Id: I77b2766d6fe43072f4a94471bd1832decf0d4ebd
2023-04-05 18:48:46 +00:00

32 lines
923 B
TypeScript

// Copyright (C) 2020 Storj Labs, Inc.
// See LICENSE for copying information.
import Vuex from 'vuex';
import { createLocalVue, shallowMount } from '@vue/test-utils';
import { FrontendConfigApiMock } from '@/../tests/unit/mock/api/config';
import { router } from '@/router';
import { makeAppStateModule } from '@/store/modules/appState';
import OverviewStep from '@/components/onboardingTour/steps/OverviewStep.vue';
const localVue = createLocalVue();
localVue.use(Vuex);
const appStateModule = makeAppStateModule(new FrontendConfigApiMock());
const store = new Vuex.Store({ modules: { appStateModule } });
// TODO: figure out how to fix the test
xdescribe('OverviewStep.vue', (): void => {
it('renders correctly', (): void => {
const wrapper = shallowMount(OverviewStep, {
localVue,
router,
store,
});
expect(wrapper).toMatchSnapshot();
});
});