From f6f048cdcab971b702f15798a82378aa4a03c8a1 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Wed, 11 Sep 2024 16:21:21 -0400 Subject: [PATCH] CSR-2179: update unit tests --- src/layouts/confirmation/confirmation.spec.js | 1 + src/layouts/payment-method/payment-method.vue | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/layouts/confirmation/confirmation.spec.js b/src/layouts/confirmation/confirmation.spec.js index d29bb552a..166973ce6 100644 --- a/src/layouts/confirmation/confirmation.spec.js +++ b/src/layouts/confirmation/confirmation.spec.js @@ -565,6 +565,7 @@ function setupMocks({ customMountOptions }) { getCmsContent: jest.fn().mockImplementation(() => { return wordingText; }), + getSettingValue: jest.fn(), }, }, ]; diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index b68e0bd27..ccf4e1524 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -33,7 +33,8 @@ :isInsurance="isInsurance" :insuranceDeductible="currentDeductible" :insuranceCompanyName="insuranceCompanyName" - :showInsuranceCoverageAs="showInsuranceCoverageAs" /> + :showInsuranceCoverageAs="showInsuranceCoverageAs" + :shouldHideRecalibration="shouldHideRecalibration" />
@@ -591,10 +592,9 @@ export default { ); }, shouldHideRecalibration() { - const recalSettingValue = experimentMixin.methods.getSettingValue( + return this.getSettingValue( experimentSettings.RECAL_PRICE_REMOVE ); - return recalSettingValue; }, showApplePay() { return baseMixin.methods.showApplePay();