debian-mirror-gitlab/spec/frontend/search/mock_data.js

48 lines
902 B
JavaScript
Raw Normal View History

2021-01-29 00:20:46 +05:30
export const MOCK_QUERY = {
scope: 'issues',
state: 'all',
confidential: null,
2021-02-22 17:27:13 +05:30
group_id: 'test_1',
2021-01-29 00:20:46 +05:30
};
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',
},
];
2021-02-22 17:27:13 +05:30
export const MOCK_PROJECT = {
name: 'test project',
namespace_id: MOCK_GROUP.id,
nameWithNamespace: 'test group test project',
id: 'test_1',
};
export const MOCK_PROJECTS = [
{
name: 'test project',
namespace_id: MOCK_GROUP.id,
name_with_namespace: 'test group test project',
id: 'test_1',
},
{
name: 'test project 2',
namespace_id: MOCK_GROUP.id,
name_with_namespace: 'test group test project 2',
id: 'test_2',
},
];