8b91c55ec4
Added new feature flag for switching between different flows. Got back old onboarding flow. Change-Id: Idbf23ba8ff36900a47e3b4ebeb34b78351202e29
28 lines
717 B
TypeScript
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();
|
|
});
|
|
});
|