|
|
@@ -49,10 +49,9 @@ describe('build', () => {
|
|
|
expect(menuBuilder.build()).toEqual({
|
|
|
label: 'basicompta_admin',
|
|
|
icon: { name: 'fas fa-suitcase' },
|
|
|
- to: 'https://app.basicompta.fr/',
|
|
|
- type: MENU_LINK_TYPE.EXTERNAL,
|
|
|
+ to: 'https://mydomain.com/#/basicompta',
|
|
|
+ type: MENU_LINK_TYPE.V1,
|
|
|
active: false,
|
|
|
- target: '_blank',
|
|
|
})
|
|
|
})
|
|
|
|
|
|
@@ -62,10 +61,9 @@ describe('build', () => {
|
|
|
expect(menuBuilder.build()).toEqual({
|
|
|
label: 'basicompta_admin',
|
|
|
icon: { name: 'fas fa-suitcase' },
|
|
|
- to: 'https://app.basicompta.fr/',
|
|
|
- type: MENU_LINK_TYPE.EXTERNAL,
|
|
|
+ to: 'https://mydomain.com/#/basicompta',
|
|
|
+ type: MENU_LINK_TYPE.V1,
|
|
|
active: false,
|
|
|
- target: '_blank',
|
|
|
})
|
|
|
})
|
|
|
|
|
|
@@ -76,10 +74,9 @@ describe('build', () => {
|
|
|
expect(menuBuilder.build()).toEqual({
|
|
|
label: 'basicompta_admin',
|
|
|
icon: { name: 'fas fa-suitcase' },
|
|
|
- to: 'https://app.basicompta.fr/',
|
|
|
- type: MENU_LINK_TYPE.EXTERNAL,
|
|
|
+ to: 'https://mydomain.com/#/basicompta',
|
|
|
+ type: MENU_LINK_TYPE.V1,
|
|
|
active: false,
|
|
|
- target: '_blank',
|
|
|
})
|
|
|
})
|
|
|
})
|