storj/web/satellite/tests/unit/onboardingTour/steps/OverviewStep.spec.ts
Malcolm Bouzi 6a059b7f9d web/satellite: remove all references to the old onboarding flow
Change-Id: I1f42fabdb407a7eb9c34f0341d332e66c3ce288d
2022-01-04 18:40:08 +00:00

28 lines
717 B
TypeScript

// Copyright (C) 2020 Storj Labs, Inc.
// See LICENSE for copying information.
import Vuex from 'vuex';
import OverviewStep from '@/components/onboardingTour/steps/OverviewStep.vue';
import { router } from '@/router';
import { appStateModule } from "@/store/modules/appState";
import { createLocalVue, mount } from '@vue/test-utils';
const localVue = createLocalVue();
localVue.use(Vuex);
const store = new Vuex.Store({ modules: { appStateModule }});
describe('OverviewStep.vue', (): void => {
it('renders correctly', (): void => {
const wrapper = mount(OverviewStep, {
localVue,
router,
store,
});
expect(wrapper).toMatchSnapshot();
});
});