diff --git a/front/salix/components/left-menu/left-menu.spec.js b/front/salix/components/left-menu/left-menu.spec.js index 5eb5c8126..93bc96827 100644 --- a/front/salix/components/left-menu/left-menu.spec.js +++ b/front/salix/components/left-menu/left-menu.spec.js @@ -17,6 +17,11 @@ describe('Component vnLeftMenu', () => { ]; })); + it(`should set items in the controller for the left menu`, () => { + expect(controller.items.length).toEqual(3); + expect(controller.items[2].state).toEqual('client.card.summary'); + }); + describe('depth() setter', () => { it(`should set depth property and call activateItem()`, () => { spyOn(controller, 'activateItem');