2020-10-30 14:08:56 -04:00
|
|
|
export const MOCK_QUERY = {
|
|
|
|
scope: 'issues',
|
|
|
|
state: 'all',
|
|
|
|
confidential: null,
|
2020-12-15 07:10:17 -05:00
|
|
|
group_id: 'test_1',
|
2020-10-30 14:08:56 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
export const MOCK_GROUP = {
|
|
|
|
name: 'test group',
|
|
|
|
full_name: 'full name test group',
|
|
|
|
id: 'test_1',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const MOCK_GROUPS = [
|
|
|
|
{
|
|
|
|
name: 'test group',
|
|
|
|
full_name: 'full name test group',
|
|
|
|
id: 'test_1',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'test group 2',
|
|
|
|
full_name: 'full name test group 2',
|
|
|
|
id: 'test_2',
|
|
|
|
},
|
|
|
|
];
|
2020-12-15 07:10:17 -05:00
|
|
|
|
|
|
|
export const MOCK_PROJECT = {
|
|
|
|
name: 'test project',
|
2021-01-20 19:11:07 -05:00
|
|
|
namespace: MOCK_GROUP,
|
2020-12-15 07:10:17 -05:00
|
|
|
nameWithNamespace: 'test group test project',
|
|
|
|
id: 'test_1',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const MOCK_PROJECTS = [
|
|
|
|
{
|
|
|
|
name: 'test project',
|
2021-01-20 19:11:07 -05:00
|
|
|
namespace: MOCK_GROUP,
|
2020-12-15 07:10:17 -05:00
|
|
|
name_with_namespace: 'test group test project',
|
|
|
|
id: 'test_1',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'test project 2',
|
2021-01-20 19:11:07 -05:00
|
|
|
namespace: MOCK_GROUP,
|
2020-12-15 07:10:17 -05:00
|
|
|
name_with_namespace: 'test group test project 2',
|
|
|
|
id: 'test_2',
|
|
|
|
},
|
|
|
|
];
|
2021-02-02 13:09:42 -05:00
|
|
|
|
|
|
|
export const MOCK_SORT_OPTIONS = [
|
|
|
|
{
|
|
|
|
title: 'Most relevant',
|
|
|
|
sortable: false,
|
|
|
|
sortParam: 'relevant',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Created date',
|
|
|
|
sortable: true,
|
|
|
|
sortParam: {
|
|
|
|
asc: 'created_asc',
|
|
|
|
desc: 'created_desc',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
];
|