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",
|
model: "Claim",
|
||||||
},
|
},
|
||||||
}).vm;
|
}).vm;
|
||||||
vi.mock('vue-router', () => ({
|
vm.route = {params: {id: 1}}
|
||||||
useRoute: ()=>{
|
|
||||||
return {params: {id: 1}}
|
|
||||||
},
|
|
||||||
}));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
|
|
Loading…
Reference in New Issue