Merge pull request #826 from Safelite/tidy/brydon

Removing old commented code
This commit is contained in:
michaela-brydon-safelite 2024-08-27 14:48:06 -04:00 committed by GitHub
commit 2621168508
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,10 +44,6 @@ function getMountedComponent(mainInitialState = {}, initialData = {}, methodToRu
});
mountOptions.global.stubs = {
// siteFooter: footerStub,
// siteHeader: headerStub,
// vehicleBanner: vehicleBannerStub,
// addToCalendar: addToCalendarStub
calendarModalQuestion: calendarModalQuestionStub
};
@ -69,9 +65,9 @@ function getMountedComponent(mainInitialState = {}, initialData = {}, methodToRu
// const apiResponses = {
// supportingItems: []
// };
//const apiPromise = Promise.resolve(apiResponses);
// const apiPromise = Promise.resolve(apiResponses);
// settleAllPromises.mockImplementation(() => apiPromise);
//fetchCmsContentForPage.mockImplementation(() => Promise.resolve());
// fetchCmsContentForPage.mockImplementation(() => Promise.resolve());
const wrapper = shallowMount(addToCalendar, mountOptions);
wrapper.vm.$refs.calendarModalQuestion.openModal = jest.fn();