refs #5357 mocked useRoute function
gitea/salix-front/pipeline/head There was a failure building this commit
Details
gitea/salix-front/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
27352eaf15
commit
8dfc8d5c73
|
@ -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(() => {
|
||||||
|
|
Loading…
Reference in New Issue