diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-20 11:10:13 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-20 11:10:13 +0000 |
commit | 0ea3fcec397b69815975647f5e2aa5fe944a8486 (patch) | |
tree | 7979381b89d26011bcf9bdc989a40fcc2f1ed4ff /spec/frontend/boards/mock_data.js | |
parent | 72123183a20411a36d607d70b12d57c484394c8e (diff) | |
download | gitlab-ce-0ea3fcec397b69815975647f5e2aa5fe944a8486.tar.gz |
Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42
Diffstat (limited to 'spec/frontend/boards/mock_data.js')
-rw-r--r-- | spec/frontend/boards/mock_data.js | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/spec/frontend/boards/mock_data.js b/spec/frontend/boards/mock_data.js index 26ad9790840..6ec39be5d29 100644 --- a/spec/frontend/boards/mock_data.js +++ b/spec/frontend/boards/mock_data.js @@ -144,30 +144,6 @@ export const mockProjectRecentBoardsResponse = { }, }; -export const mockGroupBoardResponse = { - data: { - workspace: { - board: { - id: 'gid://gitlab/Board/1', - name: 'Development', - }, - __typename: 'Group', - }, - }, -}; - -export const mockProjectBoardResponse = { - data: { - workspace: { - board: { - id: 'gid://gitlab/Board/2', - name: 'Development', - }, - __typename: 'Project', - }, - }, -}; - export const mockAssigneesList = [ { id: 2, @@ -802,3 +778,15 @@ export const boardListQueryResponse = (issuesCount = 20) => ({ }, }, }); + +export const epicBoardListQueryResponse = (totalWeight = 5) => ({ + data: { + epicBoardList: { + __typename: 'EpicList', + id: 'gid://gitlab/Boards::EpicList/3', + metadata: { + totalWeight, + }, + }, + }, +}); |