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.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/frontend/boards/mock_data.js b/spec/frontend/boards/mock_data.js
index cc0945da9f4..74733d1fd95 100644
--- a/spec/frontend/boards/mock_data.js
+++ b/spec/frontend/boards/mock_data.js
@@ -1006,4 +1006,26 @@ export const epicBoardListQueryResponse = (totalWeight = 5) => ({
},
});
+export const updateIssueTitleResponse = {
+ data: {
+ updateIssuableTitle: {
+ issue: {
+ id: 'gid://gitlab/Issue/436',
+ title: 'Issue 1 edit',
+ },
+ },
+ },
+};
+
+export const updateEpicTitleResponse = {
+ data: {
+ updateIssuableTitle: {
+ epic: {
+ id: 'gid://gitlab/Epic/426',
+ title: 'Epic 1 edit',
+ },
+ },
+ },
+};
+
export const DEFAULT_COLOR = '#1068bf';