gitlab-org--gitlab-foss/spec/javascripts/ide/mock_data.js

62 lines
886 B
JavaScript
Raw Normal View History

2018-04-17 11:27:46 -04:00
export const projectData = {
id: 1,
name: 'abcproject',
web_url: '',
avatar_url: '',
path: '',
name_with_namespace: 'namespace/abcproject',
2018-04-17 11:27:46 -04:00
branches: {
master: {
treeId: 'abcproject/master',
},
},
2018-05-03 10:12:56 -04:00
mergeRequests: {},
merge_requests_enabled: true,
2018-04-17 11:27:46 -04:00
};
2018-05-11 12:27:09 -04:00
export const pipelines = [
{
id: 1,
ref: 'master',
sha: '123',
status: 'failed',
},
{
id: 2,
ref: 'master',
sha: '213',
status: 'success',
},
];
export const jobs = [
{
id: 1,
name: 'test',
status: 'failed',
stage: 'test',
duration: 1,
},
{
id: 2,
name: 'test 2',
status: 'failed',
stage: 'test',
duration: 1,
},
{
id: 3,
name: 'test 3',
status: 'failed',
stage: 'test',
duration: 1,
},
2018-05-14 11:30:52 -04:00
{
id: 4,
name: 'test 3',
status: 'failed',
stage: 'build',
duration: 1,
},
2018-05-11 12:27:09 -04:00
];