storj/web/satellite/tests/unit/project/buckets/BucketItem.spec.ts
Vitalii c5bca894fd web/satellite: fix linter
Added imports linting, trailing commas, trailing semicolons, single quotes and spaces between curly braces.

Change-Id: I5de5d3eea48753dfe2737983b230bafaffe898c8
2022-09-09 11:02:04 +00:00

26 lines
659 B
TypeScript

// Copyright (C) 2020 Storj Labs, Inc.
// See LICENSE for copying information.
import { createLocalVue, shallowMount } from '@vue/test-utils';
import { Bucket } from '@/types/buckets';
import BucketItem from '@/components/project/buckets/BucketItem.vue';
const localVue = createLocalVue();
const bucket = new Bucket('name', 1, 1, 1, 1, new Date(), new Date());
describe('BucketItem.vue', () => {
it('renders correctly', (): void => {
const wrapper = shallowMount(BucketItem, {
localVue,
propsData: {
itemData: bucket,
},
});
expect(wrapper).toMatchSnapshot();
});
});