refs #5357 mocked useRoute function
gitea/salix-front/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alexandre Riera 2023-04-18 14:50:25 +02:00
parent 27352eaf15
commit 8dfc8d5c73
1 changed files with 5 additions and 5 deletions

View File

@ -10,11 +10,11 @@ describe('VnLog', () => {
model: "Claim", model: "Claim",
}, },
}).vm; }).vm;
vm.route = { vi.mock('vue-router', () => ({
params: { useRoute: ()=>{
id: 1 return {params: {id: 1}}
} },
} }));
}); });
afterEach(() => { afterEach(() => {