From 1a124c4608806100a243c930e934f11dedbe28e0 Mon Sep 17 00:00:00 2001 From: Chloe Herd Date: Thu, 14 Nov 2024 16:09:47 -0500 Subject: [PATCH] Fix failing test --- src/layouts/payment-method/payment-method.spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layouts/payment-method/payment-method.spec.js b/src/layouts/payment-method/payment-method.spec.js index c9f67bca1..65c3b9a11 100644 --- a/src/layouts/payment-method/payment-method.spec.js +++ b/src/layouts/payment-method/payment-method.spec.js @@ -113,5 +113,7 @@ function setupMocks() { const wrapper = shallowMount(customerDetails, mountOptions); + wrapper.vm.$refs.loadingModal.showModal = jest.fn(); + return { wrapper }; }