diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 14:59:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 14:59:07 +0300 |
commit | 8b573c94895dc0ac0e1d9d59cf3e8745e8b539ca (patch) | |
tree | 544930fb309b30317ae9797a9683768705d664c4 /spec/frontend/pipeline_new/mock_data.js | |
parent | 4b1de649d0168371549608993deac953eb692019 (diff) |
Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42
Diffstat (limited to 'spec/frontend/pipeline_new/mock_data.js')
-rw-r--r-- | spec/frontend/pipeline_new/mock_data.js | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/spec/frontend/pipeline_new/mock_data.js b/spec/frontend/pipeline_new/mock_data.js index cdbd6d4437e..feb24ec602d 100644 --- a/spec/frontend/pipeline_new/mock_data.js +++ b/spec/frontend/pipeline_new/mock_data.js @@ -1,4 +1,14 @@ -export const mockRefs = ['master', 'branch-1', 'tag-1']; +export const mockBranches = [ + { shortName: 'master', fullName: 'refs/heads/master' }, + { shortName: 'branch-1', fullName: 'refs/heads/branch-1' }, + { shortName: 'branch-2', fullName: 'refs/heads/branch-2' }, +]; + +export const mockTags = [ + { shortName: '1.0.0', fullName: 'refs/tags/1.0.0' }, + { shortName: '1.1.0', fullName: 'refs/tags/1.1.0' }, + { shortName: '1.2.0', fullName: 'refs/tags/1.2.0' }, +]; export const mockParams = { refParam: 'tag-1', @@ -31,3 +41,7 @@ export const mockError = { ], total_warnings: 7, }; + +export const mockBranchRefs = ['master', 'dev', 'release']; + +export const mockTagRefs = ['1.0.0', '1.1.0', '1.2.0']; |