storj/web/satellite/tests/unit/apiKeys/ApiKeysItem.spec.ts
VitaliiShpital 8499323ac5 web/satellite: project summary added to dashboard page
WHAT:
new project summary (details) section added to project dashboard page.
v1 shows team size, API keys amount, buckets amount, estimated charges for selected project for current month.

WHY:
redesign. Better user experience?

Change-Id: I31204a3e68db49486bad1e1a0eedd238eba6b84e
2020-09-29 11:16:50 +00:00

20 lines
529 B
TypeScript

// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
import ApiKeysItem from '@/components/apiKeys/ApiKeysItem.vue';
import { ApiKey } from '@/types/apiKeys';
import { mount } from '@vue/test-utils';
describe('ApiKeysItem.vue', (): void => {
it('renders correctly', (): void => {
const wrapper = mount(ApiKeysItem, {
propsData: {
itemData: new ApiKey('', '', new Date(0), ''),
},
});
expect(wrapper).toMatchSnapshot();
});
});