0
0
Fork 0

refs #5357 faking route

This commit is contained in:
Alexandre Riera 2023-04-18 14:55:24 +02:00
parent 8dfc8d5c73
commit 6fcefc8df1
1 changed files with 1 additions and 5 deletions

View File

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