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/ci/ci_variable_list/mocks.js')
-rw-r--r--spec/frontend/ci/ci_variable_list/mocks.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/frontend/ci/ci_variable_list/mocks.js b/spec/frontend/ci/ci_variable_list/mocks.js
index 35bca408f17..34afa10b607 100644
--- a/spec/frontend/ci/ci_variable_list/mocks.js
+++ b/spec/frontend/ci/ci_variable_list/mocks.js
@@ -32,6 +32,7 @@ export const mockVariables = (kind) => {
__typename: `Ci${kind}Variable`,
id: 1,
key: 'my-var',
+ description: 'This variable has a description.',
masked: false,
protected: true,
raw: false,
@@ -42,6 +43,7 @@ export const mockVariables = (kind) => {
__typename: `Ci${kind}Variable`,
id: 2,
key: 'secret',
+ description: null,
masked: true,
protected: false,
raw: true,
@@ -56,6 +58,7 @@ export const mockInheritedVariables = [
id: 'gid://gitlab/Ci::GroupVariable/120',
key: 'INHERITED_VAR_1',
variableType: 'ENV_VAR',
+ description: null,
environmentScope: '*',
masked: true,
protected: true,
@@ -68,6 +71,7 @@ export const mockInheritedVariables = [
id: 'gid://gitlab/Ci::GroupVariable/121',
key: 'INHERITED_VAR_2',
variableType: 'ENV_VAR',
+ description: 'This inherited variable has a description.',
environmentScope: 'staging',
masked: false,
protected: false,
@@ -80,6 +84,7 @@ export const mockInheritedVariables = [
id: 'gid://gitlab/Ci::GroupVariable/122',
key: 'INHERITED_VAR_3',
variableType: 'FILE',
+ description: null,
environmentScope: 'production',
masked: false,
protected: true,