19e9ca921a
Migrated last 2 vue components. Removed class component and vuex dependencies. Change-Id: I54a82cfae35a1c7eea6efbc07f89bf416a689e79
22 lines
557 B
TypeScript
22 lines
557 B
TypeScript
// Copyright (C) 2020 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
import { createLocalVue, shallowMount } from '@vue/test-utils';
|
|
|
|
import { router } from '@/router';
|
|
|
|
import OnboardingTourArea from '@/components/onboardingTour/OnboardingTourArea.vue';
|
|
|
|
const localVue = createLocalVue();
|
|
|
|
describe('OnboardingTourArea.vue', () => {
|
|
it('renders correctly', (): void => {
|
|
const wrapper = shallowMount(OnboardingTourArea, {
|
|
localVue,
|
|
router,
|
|
});
|
|
|
|
expect(wrapper).toMatchSnapshot();
|
|
});
|
|
});
|