b7a5b1f3ab
Fixed issue with project selection for new objects flow. Fixed issue with navigating from objects browser when upload is in progress. Fixed command line solution link on Encryption passphrase step. Renamed Objects nav route to be Buckets nav route. Change-Id: I4d838854668d6c44491cfd83302ea705ef7c26bd
30 lines
855 B
TypeScript
30 lines
855 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';
|
|
import { APP_STATE_MUTATIONS } from "@/store/mutationConstants";
|
|
|
|
const localVue = createLocalVue();
|
|
localVue.use(Vuex);
|
|
|
|
const store = new Vuex.Store({ modules: { appStateModule }});
|
|
|
|
describe('OverviewStep.vue', (): void => {
|
|
it('renders correctly', (): void => {
|
|
store.commit(APP_STATE_MUTATIONS.SET_ONB_CLI_FLOW_STATUS, true);
|
|
const wrapper = mount(OverviewStep, {
|
|
localVue,
|
|
router,
|
|
store,
|
|
});
|
|
|
|
expect(wrapper).toMatchSnapshot();
|
|
});
|
|
});
|