values are booleans
This commit is contained in:
parent
fc201cbf75
commit
f87408bac2
3 changed files with 10 additions and 10 deletions
|
|
@ -74,10 +74,10 @@ function setupMocks({
|
||||||
mixins: {
|
mixins: {
|
||||||
getSettingValue: jest.fn((settingName) => {
|
getSettingValue: jest.fn((settingName) => {
|
||||||
if (settingName === experimentSettings.ISS_YMMS_VIN_REQUIRED_BAILOUT_ENABLED) {
|
if (settingName === experimentSettings.ISS_YMMS_VIN_REQUIRED_BAILOUT_ENABLED) {
|
||||||
return 'true';
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'false';
|
return false;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -433,10 +433,10 @@ describe('address-lookup.vue', () => {
|
||||||
wrapper.vm.navigateForwardWithSingleCarMatch = jest.fn();
|
wrapper.vm.navigateForwardWithSingleCarMatch = jest.fn();
|
||||||
wrapper.vm.getSettingValue = jest.fn((settingName) => {
|
wrapper.vm.getSettingValue = jest.fn((settingName) => {
|
||||||
if (settingName === experimentSettings.ISS_YMMS_VIN_REQUIRED_BAILOUT_ENABLED) {
|
if (settingName === experimentSettings.ISS_YMMS_VIN_REQUIRED_BAILOUT_ENABLED) {
|
||||||
return 'true';
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'false';
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
useMainStore().order.vehicle.carId = 'C0000';
|
useMainStore().order.vehicle.carId = 'C0000';
|
||||||
|
|
@ -475,10 +475,10 @@ describe('address-lookup.vue', () => {
|
||||||
wrapper.vm.navigateForwardWithSingleCarMatch = jest.fn();
|
wrapper.vm.navigateForwardWithSingleCarMatch = jest.fn();
|
||||||
wrapper.vm.getSettingValue = jest.fn((settingName) => {
|
wrapper.vm.getSettingValue = jest.fn((settingName) => {
|
||||||
if (settingName === experimentSettings.ISS_YMMS_VIN_REQUIRED_BAILOUT_ENABLED) {
|
if (settingName === experimentSettings.ISS_YMMS_VIN_REQUIRED_BAILOUT_ENABLED) {
|
||||||
return 'true';
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'false';
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
useMainStore().order.vehicle.carId = 'CARID3';
|
useMainStore().order.vehicle.carId = 'CARID3';
|
||||||
|
|
|
||||||
|
|
@ -108,10 +108,10 @@ function setupMocks({
|
||||||
}),
|
}),
|
||||||
getSettingValue: jest.fn((settingName) => {
|
getSettingValue: jest.fn((settingName) => {
|
||||||
if (settingName === experimentSettings.ISS_YMMS_VIN_REQUIRED_BAILOUT_ENABLED) {
|
if (settingName === experimentSettings.ISS_YMMS_VIN_REQUIRED_BAILOUT_ENABLED) {
|
||||||
return 'true';
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'false';
|
return false;
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
||||||
|
|
@ -176,10 +176,10 @@ const mountOptions = {
|
||||||
pushEventToGA: jest.fn(),
|
pushEventToGA: jest.fn(),
|
||||||
getSettingValue: jest.fn((settingName) => {
|
getSettingValue: jest.fn((settingName) => {
|
||||||
if (settingName === experimentSettings.ISS_YMMS_VIN_REQUIRED_BAILOUT_ENABLED) {
|
if (settingName === experimentSettings.ISS_YMMS_VIN_REQUIRED_BAILOUT_ENABLED) {
|
||||||
return 'true';
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'false';
|
return false;
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue