Merge pull request #826 from Safelite/tidy/brydon
Removing old commented code
This commit is contained in:
commit
2621168508
1 changed files with 2 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue