8499323ac5
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
20 lines
529 B
TypeScript
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();
|
|
});
|
|
});
|