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({}); const { wrapper } = setupMocks({});
wrapper.vm.$route = { query: { isInsurance: "false" } };
//Act //Act
await quote.beforeRouteEnter.call( await quote.beforeRouteEnter.call(
wrapper.vm, wrapper.vm,
{ query: { fmgPage: "quote" } }, { query: { fmgPage: "quote", isInsurance: false } },
undefined, undefined,
(c) => c(wrapper.vm) (c) => c(wrapper.vm)
); );