diff --git a/src/components/__tests__/Leftmenu.spec.js b/src/components/__tests__/Leftmenu.spec.js index 4ab8b527f..7c8470589 100644 --- a/src/components/__tests__/Leftmenu.spec.js +++ b/src/components/__tests__/Leftmenu.spec.js @@ -180,7 +180,7 @@ describe('Leftmenu as card', () => { vm = mount('card').vm; }); - it('should get routes for card source', async () => { + it('should get routes for card source', () => { vm.getRoutes(); }); }); @@ -270,7 +270,6 @@ describe('Leftmenu as main', () => { expect(result.meta.menu).toEqual(route.matched[0].meta.menu); }); it('should get routes for main source', () => { - vm.props.source = 'main'; vm.getRoutes(); expect(navigation.getModules).toHaveBeenCalled(); });