diff options
author | André Luís <me@andr3.net> | 2018-05-25 10:08:53 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-05-25 10:08:53 +0000 |
commit | c53890548e15c15b38f3aa7911a69a4c24173f15 (patch) | |
tree | c1452bf14ae2ef959fc461b6138e5ad7651f6337 /spec/javascripts/ide/mock_data.js | |
parent | de12348ee8534b2a4310c81898e7151dd7616095 (diff) | |
download | gitlab-ce-c53890548e15c15b38f3aa7911a69a4c24173f15.tar.gz |
Resolve "Show CI pipeline status in Web IDE"
Diffstat (limited to 'spec/javascripts/ide/mock_data.js')
-rw-r--r-- | spec/javascripts/ide/mock_data.js | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/spec/javascripts/ide/mock_data.js b/spec/javascripts/ide/mock_data.js index 7e641c7984b..c68ae050641 100644 --- a/spec/javascripts/ide/mock_data.js +++ b/spec/javascripts/ide/mock_data.js @@ -59,3 +59,37 @@ export const jobs = [ duration: 1, }, ]; + +export const fullPipelinesResponse = { + data: { + count: { + all: 2, + }, + pipelines: [ + { + id: '51', + commit: { + id: 'xxxxxxxxxxxxxxxxxxxx', + }, + details: { + status: { + icon: 'status_failed', + text: 'failed', + }, + }, + }, + { + id: '50', + commit: { + id: 'abc123def456ghi789jkl', + }, + details: { + status: { + icon: 'status_passed', + text: 'passed', + }, + }, + }, + ], + }, +}; |