c5bca894fd
Added imports linting, trailing commas, trailing semicolons, single quotes and spaces between curly braces. Change-Id: I5de5d3eea48753dfe2737983b230bafaffe898c8
28 lines
718 B
TypeScript
28 lines
718 B
TypeScript
// Copyright (C) 2020 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
import Vuex from 'vuex';
|
|
import { createLocalVue, mount } from '@vue/test-utils';
|
|
|
|
import { router } from '@/router';
|
|
import { appStateModule } from '@/store/modules/appState';
|
|
|
|
import OverviewStep from '@/components/onboardingTour/steps/OverviewStep.vue';
|
|
|
|
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();
|
|
});
|
|
});
|