diff options
Diffstat (limited to 'spec/frontend/pipelines/components/dag/mock_data.js')
-rw-r--r-- | spec/frontend/pipelines/components/dag/mock_data.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/frontend/pipelines/components/dag/mock_data.js b/spec/frontend/pipelines/components/dag/mock_data.js index e7e93804195..f27e7cf3d6b 100644 --- a/spec/frontend/pipelines/components/dag/mock_data.js +++ b/spec/frontend/pipelines/components/dag/mock_data.js @@ -398,6 +398,8 @@ export const multiNote = { }, }; +export const missingJob = 'missing_job'; + /* It is important that the base include parallel jobs as well as non-parallel jobs with spaces in the name to prevent @@ -657,4 +659,16 @@ export const mockParsedGraphQLNodes = [ ], __typename: 'CiGroup', }, + { + category: 'production', + name: 'production_e', + size: 1, + jobs: [ + { + name: 'production_e', + needs: [missingJob], + }, + ], + __typename: 'CiGroup', + }, ]; |