This commit is contained in:
Katie Kroell 2023-07-28 15:41:49 -04:00
parent 17876c6416
commit 1777bf08e4

View file

@ -1270,70 +1270,3 @@ function setupMocks()
wrapper.vm.$refs.loadingModal.showModal = jest.fn();
return { wrapper };
}
// describe("coverage-statement.vue...", () => {
// describe("display correct coverage statement", () => {
//
// });
//
// })
// });
// const mockMixin = {
// methods: {
// getCmsContent: jest.fn((contentName) => {
// if (contentName === "UnverifiedADASNextStepsWidget") {
// return "ADASReplaceTestReturn"
// }
// else if (contentName === "UnverifiedNonADASRepairWidget") {
// return "NonADASRepairTestReturn"
// }
// else if (contentName === "UnverifiedNonADASNextStepsWidget") {
// return "NonADASReplaceTestReturn"
// }
// return null;
// }),
// }
// };
// function setupMocks({
// pageHeaderWidgetHeaderText,
// mountOptionsMockData = {},
// }) {
// //Mock api responses
// const apiResponses = {
// cmsContent: {
// SiteSubHeaderWidget: pageHeaderWidgetHeaderText,
// FunnelHeaderWidget: {
// LogoImage:
// `${applicationConfig.ISS_DEV_CMS_DOMAIN}/images/default-source/default-album/logos/insuranceLogo.jpg`,
// },
// ColorQuestionWidget: "Please choose your rear window tint color",
// FeatureQuestionWidget: "Ok no choose features",
// AlertWidget: {
// BodyText: "Please choose your tint color",
// HeadlineText: "Just a few more steps to go",
// },
// unverifiedNonADASRepairBodyText: "Repair body text",
// },
// };
// const apiPromise = Promise.resolve(apiResponses);
// settleAllPromises.mockImplementation(() => apiPromise);
// fetchCmsContentForPage.mockImplementation(() => Promise.resolve());
// const mountOptions = getMountOptions({});
// mountOptions.mixins = [baseMixin, vehicleQuestionsMixin];
// mountOptions.global = {
// plugins: [createTestingPinia()]
// }
// const wrapper = shallowMount(coverageStatement, mountOptions);
// wrapper.vm.setCmsContent = baseMixin.methods.setCmsContent;
// return { wrapper };
// }