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/boards/mock_data.js')
-rw-r--r--spec/frontend/boards/mock_data.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/frontend/boards/mock_data.js b/spec/frontend/boards/mock_data.js
index 1c5b7cf8248..bcaca9522e4 100644
--- a/spec/frontend/boards/mock_data.js
+++ b/spec/frontend/boards/mock_data.js
@@ -151,6 +151,8 @@ export const rawIssue = {
},
};
+export const mockIssueFullPath = 'gitlab-org/test-subgroup/gitlab-test';
+
export const mockIssue = {
id: 'gid://gitlab/Issue/436',
iid: '27',
@@ -159,8 +161,8 @@ export const mockIssue = {
timeEstimate: 0,
weight: null,
confidential: false,
- referencePath: 'gitlab-org/test-subgroup/gitlab-test#27',
- path: '/gitlab-org/test-subgroup/gitlab-test/-/issues/27',
+ referencePath: `${mockIssueFullPath}#27`,
+ path: `/${mockIssueFullPath}/-/issues/27`,
assignees,
labels: [
{