#796 Test front left-menu.js
This commit is contained in:
parent
6d70a45f41
commit
b5f29954ed
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue