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/work_items/mock_data.js')
-rw-r--r--spec/frontend/work_items/mock_data.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/frontend/work_items/mock_data.js b/spec/frontend/work_items/mock_data.js
index 9741a193258..a98722bc465 100644
--- a/spec/frontend/work_items/mock_data.js
+++ b/spec/frontend/work_items/mock_data.js
@@ -34,3 +34,17 @@ export const updateWorkItemMutationResponse = {
},
},
};
+
+export const projectWorkItemTypesQueryResponse = {
+ data: {
+ workspace: {
+ id: '1',
+ workItemTypes: {
+ nodes: [
+ { id: 'work-item-1', name: 'Issue' },
+ { id: 'work-item-2', name: 'Incident' },
+ ],
+ },
+ },
+ },
+};