From 5ba43cf9d443722ec4cca28eb3c8c71e49362e3e Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Thu, 9 Mar 2023 15:51:23 -0500 Subject: [PATCH] Fixed unit tests and ran formatter --- .../mobile-location-modal-questions.spec.js | 2 ++ 1 file changed, 2 insertions(+) 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();