test: refs #8647 fix warning

This commit is contained in:
Javier Segarra 2025-02-28 09:26:57 +01:00
parent 642e2c7d5c
commit 29cd014ec8
1 changed files with 1 additions and 2 deletions

View File

@ -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();
});