forked from verdnatura/salix-front
refs #5357 faking route
This commit is contained in:
parent
8dfc8d5c73
commit
6fcefc8df1
|
@ -10,11 +10,7 @@ describe('VnLog', () => {
|
|||
model: "Claim",
|
||||
},
|
||||
}).vm;
|
||||
vi.mock('vue-router', () => ({
|
||||
useRoute: ()=>{
|
||||
return {params: {id: 1}}
|
||||
},
|
||||
}));
|
||||
vm.route = {params: {id: 1}}
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
|
|
Loading…
Reference in New Issue