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/commit/mock_data.js')
-rw-r--r--spec/frontend/commit/mock_data.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/spec/frontend/commit/mock_data.js b/spec/frontend/commit/mock_data.js
index eb9e2e84149..2a618e08c50 100644
--- a/spec/frontend/commit/mock_data.js
+++ b/spec/frontend/commit/mock_data.js
@@ -291,34 +291,3 @@ export const refsListPropsMock = {
urlPart: '/some/project/-/commits/',
refType: 'heads',
};
-
-const createMergeRequestPipelines = (count = 30) => {
- const pipelines = [];
-
- for (let i = 0; i < count; i += 1) {
- pipelines.push({
- id: i,
- iid: i + 10,
- path: `/project/pipelines/${i}`,
- });
- }
-
- return {
- count,
- nodes: pipelines,
- };
-};
-
-export const mergeRequestPipelinesResponse = {
- data: {
- project: {
- __typename: 'Project',
- id: 'gid://gitlab/Project/1',
- mergeRequest: {
- __typename: 'MergeRequest',
- id: 'gid://gitlab/MergeRequest/1',
- pipelines: createMergeRequestPipelines(),
- },
- },
- },
-};