CSR-111 Fix tests
This commit is contained in:
parent
5f3f647fb8
commit
73bc3f5945
1 changed files with 2 additions and 1 deletions
|
|
@ -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 });
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue