CSR-2166: fix unit test
This commit is contained in:
parent
9bf5255f2b
commit
add23e7165
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue