Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/pipeline_new/mock_data.js')
-rw-r--r--spec/frontend/pipeline_new/mock_data.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/frontend/pipeline_new/mock_data.js b/spec/frontend/pipeline_new/mock_data.js
index 2a677f109da..3f49ffe9664 100644
--- a/spec/frontend/pipeline_new/mock_data.js
+++ b/spec/frontend/pipeline_new/mock_data.js
@@ -43,3 +43,19 @@ export const mockError = {
export const mockBranchRefs = ['main', 'dev', 'release'];
export const mockTagRefs = ['1.0.0', '1.1.0', '1.2.0'];
+
+export const mockVariables = [
+ {
+ uniqueId: 'var-refs/heads/master2',
+ variable_type: 'env_var',
+ key: 'var_without_value',
+ value: '',
+ },
+ {
+ uniqueId: 'var-refs/heads/master3',
+ variable_type: 'env_var',
+ key: 'var_with_value',
+ value: 'test_value',
+ },
+ { uniqueId: 'var-refs/heads/master4', variable_type: 'env_var', key: '', value: '' },
+];