2020-02-18 15:48:19 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
import OverviewArea from '@/components/overview/OverviewArea.vue';
|
|
|
|
|
2020-03-12 15:32:40 +00:00
|
|
|
import { router } from '@/router';
|
|
|
|
import { mount } from '@vue/test-utils';
|
2020-02-18 15:48:19 +00:00
|
|
|
|
|
|
|
describe('OverviewArea.vue', () => {
|
|
|
|
it('renders correctly', (): void => {
|
2020-03-12 15:32:40 +00:00
|
|
|
const wrapper = mount(OverviewArea, {
|
|
|
|
router,
|
|
|
|
});
|
2020-02-18 15:48:19 +00:00
|
|
|
|
|
|
|
expect(wrapper).toMatchSnapshot();
|
|
|
|
});
|
|
|
|
});
|