diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 06:08:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 06:08:03 +0300 |
commit | 5b20366d04e3c672a37954f2fc374ca81296c4c1 (patch) | |
tree | a01ea0170d34df3866bbbcea8cd7cf9c5c6f452d /spec/frontend/packages_and_registries/package_registry/mock_data.js | |
parent | ca98ae2df53ad032fd7877f5f907fdca17e43158 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/packages_and_registries/package_registry/mock_data.js')
-rw-r--r-- | spec/frontend/packages_and_registries/package_registry/mock_data.js | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/spec/frontend/packages_and_registries/package_registry/mock_data.js b/spec/frontend/packages_and_registries/package_registry/mock_data.js index 0a4747fc9ec..3dfcec37ea7 100644 --- a/spec/frontend/packages_and_registries/package_registry/mock_data.js +++ b/spec/frontend/packages_and_registries/package_registry/mock_data.js @@ -202,10 +202,6 @@ export const packageDetailsQuery = (extendPackage) => ({ nodes: packageTags(), __typename: 'PackageTagConnection', }, - pipelines: { - nodes: packagePipelines(), - __typename: 'PipelineConnection', - }, packageFiles: { nodes: packageFiles(), __typename: 'PackageFileConnection', @@ -223,6 +219,19 @@ export const packageDetailsQuery = (extendPackage) => ({ }, }); +export const packagePipelinesQuery = (pipelines = packagePipelines()) => ({ + data: { + package: { + id: 'gid://gitlab/Packages::Package/111', + pipelines: { + nodes: pipelines, + __typename: 'PipelineConnection', + }, + __typename: 'PackageDetailsType', + }, + }, +}); + export const emptyPackageDetailsQuery = () => ({ data: { package: { |