CSR-2179: update unit tests
This commit is contained in:
parent
3a66e4009b
commit
f6f048cdca
2 changed files with 4 additions and 3 deletions
|
|
@ -565,6 +565,7 @@ function setupMocks({ customMountOptions }) {
|
|||
getCmsContent: jest.fn().mockImplementation(() => {
|
||||
return wordingText;
|
||||
}),
|
||||
getSettingValue: jest.fn(),
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@
|
|||
:isInsurance="isInsurance"
|
||||
:insuranceDeductible="currentDeductible"
|
||||
:insuranceCompanyName="insuranceCompanyName"
|
||||
:showInsuranceCoverageAs="showInsuranceCoverageAs" />
|
||||
:showInsuranceCoverageAs="showInsuranceCoverageAs"
|
||||
:shouldHideRecalibration="shouldHideRecalibration" />
|
||||
|
||||
<hr class="my-5" />
|
||||
|
||||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue