CSR-2166: fix unit test

This commit is contained in:
Adam Caouette 2024-09-20 16:50:24 -04:00
parent 9bf5255f2b
commit add23e7165

View file

@ -391,12 +391,11 @@ describe("quote.vue", () => {
},
};
const { wrapper } = setupMocks({});
wrapper.vm.$route = { query: { isInsurance: "false" } };
//Act
await quote.beforeRouteEnter.call(
wrapper.vm,
{ query: { fmgPage: "quote" } },
{ query: { fmgPage: "quote", isInsurance: false } },
undefined,
(c) => c(wrapper.vm)
);