From 73bc3f594506e08826ca46d80abc85395e71e8e4 Mon Sep 17 00:00:00 2001 From: Katie Date: Thu, 25 Aug 2022 08:51:15 -0400 Subject: [PATCH] CSR-111 Fix tests --- src/mixins/vehicle-questions-mixin.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mixins/vehicle-questions-mixin.spec.js b/src/mixins/vehicle-questions-mixin.spec.js index 954349c53..05d019da5 100644 --- a/src/mixins/vehicle-questions-mixin.spec.js +++ b/src/mixins/vehicle-questions-mixin.spec.js @@ -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 }); }); });