Update capability-questions.spec.js
This commit is contained in:
parent
39a5385b57
commit
af50992a0c
1 changed files with 4 additions and 2 deletions
|
|
@ -278,9 +278,11 @@ describe("capabilityQuestions.vue", () => {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
wrapper.vm.dispatchStoreAction = jest.fn(() => {
|
useMainStore().getPartsOrQuestions = jest.fn(() => {
|
||||||
return {
|
return {
|
||||||
data: [],
|
data: {
|
||||||
|
partsOrQuestions: [],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
wrapper.vm.navigateForward = jest.fn();
|
wrapper.vm.navigateForward = jest.fn();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue