|
|
@@ -48,7 +48,7 @@ describe('build', () => {
|
|
|
{
|
|
|
label: 'MyOrganization',
|
|
|
icon: undefined,
|
|
|
- to: 'https://some-website.com/typo3',
|
|
|
+ to: 'https://some-website.com',
|
|
|
type: MENU_LINK_TYPE.EXTERNAL,
|
|
|
active: false
|
|
|
}
|
|
|
@@ -87,7 +87,7 @@ describe('build', () => {
|
|
|
const result = menuBuilder.build() as MenuGroup
|
|
|
|
|
|
expect(result.children).toEqual([
|
|
|
- { label: 'MyOrganization', icon: undefined, to: 'https://some-website.com/typo3', type: MENU_LINK_TYPE.EXTERNAL, active: false },
|
|
|
+ { label: 'MyOrganization', icon: undefined, to: 'https://some-website.com', type: MENU_LINK_TYPE.EXTERNAL, active: false },
|
|
|
{ label: 'parent1', icon: undefined, to: 'https://parent1.net', type: MENU_LINK_TYPE.EXTERNAL, active: false },
|
|
|
{ label: 'parent2', icon: undefined, to: 'https://parent2.net', type: MENU_LINK_TYPE.EXTERNAL, active: false },
|
|
|
])
|