diff --git a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.spec.js b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.spec.js index eb9d507db..ab0ba6573 100644 --- a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.spec.js +++ b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.spec.js @@ -247,6 +247,7 @@ describe("mobile-location-modal-questions.vue", () => { attachTo: document.body, }); wrapper.vm.$refs.MobileLocationModalWidget.closeModal = jest.fn(); + wrapper.vm.resetModalButtonStyle = jest.fn(); // Act wrapper.vm.internalModel = newMobileLocationQuestions; @@ -293,6 +294,7 @@ describe("mobile-location-modal-questions.vue", () => { }); wrapper.vm.internalModel = newMobileLocationQuestions; + wrapper.vm.resetModalButtonStyle = jest.fn(); // Act await wrapper.vm.setMobileLocation();