CSR-111 Fix tests

This commit is contained in:
Katie 2022-08-25 08:51:15 -04:00
parent 5f3f647fb8
commit 73bc3f5945

View file

@ -944,6 +944,7 @@ describe("vehicle-questions-mixin", () => {
"childPartQuestions": null
}
],
"capabilityQuestions": [],
"partQuestions": null
}
];
@ -957,7 +958,7 @@ describe("vehicle-questions-mixin", () => {
// Assert
expect(wrapper.vm.$router.navigateWithSaving).toHaveBeenCalledTimes(1);
expect(wrapper.vm.$router.navigateWithSaving).toHaveBeenCalledWith(navigationScenarios.HAS_CAPABILITY_QUESTIONS, wrapper.vm.$route, {}, {}, { partsOrQuestions, capabilityQuestions: [] });
expect(wrapper.vm.$router.navigateWithSaving).toHaveBeenCalledWith(navigationScenarios.HAS_CAPABILITY_QUESTIONS, wrapper.vm.$route, {}, {}, { partsOrQuestions });
});
});