CSR-2179: update unit tests

This commit is contained in:
Adam Caouette 2024-09-11 16:21:21 -04:00
parent 3a66e4009b
commit f6f048cdca
2 changed files with 4 additions and 3 deletions

View file

@ -565,6 +565,7 @@ function setupMocks({ customMountOptions }) {
getCmsContent: jest.fn().mockImplementation(() => { getCmsContent: jest.fn().mockImplementation(() => {
return wordingText; return wordingText;
}), }),
getSettingValue: jest.fn(),
}, },
}, },
]; ];

View file

@ -33,7 +33,8 @@
:isInsurance="isInsurance" :isInsurance="isInsurance"
:insuranceDeductible="currentDeductible" :insuranceDeductible="currentDeductible"
:insuranceCompanyName="insuranceCompanyName" :insuranceCompanyName="insuranceCompanyName"
:showInsuranceCoverageAs="showInsuranceCoverageAs" /> :showInsuranceCoverageAs="showInsuranceCoverageAs"
:shouldHideRecalibration="shouldHideRecalibration" />
<hr class="my-5" /> <hr class="my-5" />
@ -591,10 +592,9 @@ export default {
); );
}, },
shouldHideRecalibration() { shouldHideRecalibration() {
const recalSettingValue = experimentMixin.methods.getSettingValue( return this.getSettingValue(
experimentSettings.RECAL_PRICE_REMOVE experimentSettings.RECAL_PRICE_REMOVE
); );
return recalSettingValue;
}, },
showApplePay() { showApplePay() {
return baseMixin.methods.showApplePay(); return baseMixin.methods.showApplePay();