estimate unit test case for external parameter
This commit is contained in:
hiteshkumar87 2024-08-23 19:10:30 +05:30
parent deff080bd2
commit 4e09fe6cae

View file

@ -215,9 +215,10 @@ describe("estimate.vue", () => {
describe("estimate.vue", () => {
test("should call forwardButtonAction if isExternalParameter is true and form is valid", async () => {
store.commit(storeMutations.UPDATE_IS_EXTERNAL_PARAMETER, true);
store.commit(storeMutations.UPDATE_EXTERNAL_PARAMETER_VIN_SELECTION, "decline");
store.getters = {
isExternalParameter: true,
externalParameterEstimate: { vinSelection: "decline" },
};
// Set up the component
const { wrapper } = setupMocks({});