Skip to content

Commit

Permalink
Add jest test for cloud links
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed Jul 14, 2023
1 parent fda487c commit e31f70c
Show file tree
Hide file tree
Showing 4 changed files with 967 additions and 160 deletions.
14 changes: 14 additions & 0 deletions packages/shared-ux/chrome/navigation/mocks/src/jest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,19 @@ export const getServicesMock = ({
navigateToUrl,
onProjectNavigationChange: jest.fn(),
activeNodes$: of(activeNodes),
cloudLinks: {
billingAndSub: {
title: 'Mock Billing & Subscriptions',
href: 'https://cloud.elastic.co/account/billing',
},
performance: {
title: 'Mock Performance',
href: 'https://cloud.elastic.co/deployments/123456789/performance',
},
userAndRoles: {
title: 'Mock Users & Roles',
href: 'https://cloud.elastic.co/deployments/123456789/security/users',
},
},
};
};
Loading

0 comments on commit e31f70c

Please sign in to comment.