6a059b7f9d
Change-Id: I1f42fabdb407a7eb9c34f0341d332e66c3ce288d
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();
|
|
});
|
|
});
|