Update capability-questions.spec.js

This commit is contained in:
Sneha 2023-02-23 09:32:25 +05:30
parent 39a5385b57
commit af50992a0c

View file

@ -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();