diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-02 15:07:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-02 15:07:33 +0300 |
commit | ae9f43a2c4bda0ee7dae59ea9a7d412068f6f7ff (patch) | |
tree | 0617cf9d21ee7b8cf0ba7c120781475050c6a7a6 /spec/frontend/packages_and_registries/package_registry/mock_data.js | |
parent | 4fbfae83afa1ea64ba4969bff2b459b4562944e4 (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 | 15 |
1 files changed, 8 insertions, 7 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 8c532f31499..ae8cd54a00a 100644 --- a/spec/frontend/packages_and_registries/package_registry/mock_data.js +++ b/spec/frontend/packages_and_registries/package_registry/mock_data.js @@ -97,6 +97,12 @@ export const packageProject = () => ({ __typename: 'Project', }); +export const linksData = { + _links: { + webPath: '/gitlab-org/package-15', + }, +}; + export const packageVersions = () => [ { createdAt: '2021-08-10T09:33:54Z', @@ -105,6 +111,7 @@ export const packageVersions = () => [ status: 'DEFAULT', tags: { nodes: packageTags() }, version: '1.0.1', + ...linksData, __typename: 'Package', }, { @@ -114,17 +121,11 @@ export const packageVersions = () => [ status: 'DEFAULT', tags: { nodes: packageTags() }, version: '1.0.2', + ...linksData, __typename: 'Package', }, ]; -export const linksData = { - _links: { - webPath: '/gitlab-org/package-15', - __typeName: 'PackageLinks', - }, -}; - export const packageData = (extend) => ({ __typename: 'Package', id: 'gid://gitlab/Packages::Package/111', |