befe7574e1
Change-Id: I40c6680de4778700611f2f6978a02688d50d792f
19 lines
539 B
TypeScript
19 lines
539 B
TypeScript
// Copyright (C) 2020 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
import OverviewStep from '@/components/onboardingTour/steps/OverviewStep.vue';
|
|
|
|
import { mount } from '@vue/test-utils';
|
|
|
|
describe('OverviewStep.vue', () => {
|
|
it('renders correctly', async (): Promise<void> => {
|
|
const wrapper = mount(OverviewStep);
|
|
|
|
expect(wrapper).toMatchSnapshot();
|
|
|
|
await wrapper.find('.get-started-button').trigger('click');
|
|
|
|
expect(wrapper.emitted()).toHaveProperty('setAddPaymentState');
|
|
});
|
|
});
|