2020-04-22 17:21:12 +01:00
|
|
|
// Copyright (C) 2020 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
2022-09-08 15:11:09 +01:00
|
|
|
import { createLocalVue, shallowMount } from '@vue/test-utils';
|
2020-04-22 17:21:12 +01:00
|
|
|
|
2020-12-01 16:53:57 +00:00
|
|
|
import { router } from '@/router';
|
2020-04-22 17:21:12 +01:00
|
|
|
|
2022-09-08 15:11:09 +01:00
|
|
|
import OnboardingTourArea from '@/components/onboardingTour/OnboardingTourArea.vue';
|
2020-04-22 17:21:12 +01:00
|
|
|
|
|
|
|
const localVue = createLocalVue();
|
|
|
|
|
|
|
|
describe('OnboardingTourArea.vue', () => {
|
|
|
|
it('renders correctly', (): void => {
|
|
|
|
const wrapper = shallowMount(OnboardingTourArea, {
|
|
|
|
localVue,
|
2020-12-01 16:53:57 +00:00
|
|
|
router,
|
2020-04-22 17:21:12 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
expect(wrapper).toMatchSnapshot();
|
|
|
|
});
|
|
|
|
});
|