Formatting
This commit is contained in:
parent
2229c96011
commit
717a8c50b5
2 changed files with 2 additions and 5 deletions
|
|
@ -176,10 +176,7 @@ export function shouldRainDefenseBeAvailable(
|
||||||
packageNames.TIER_TWO
|
packageNames.TIER_TWO
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return isTierThree && !(rearWipersInTierTwo && !frontWipersInTierTwo && frontWipersInTierThree);
|
||||||
isTierThree &&
|
|
||||||
!(rearWipersInTierTwo && !frontWipersInTierTwo && frontWipersInTierThree)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getLowestTierForType(glassToReplace, availableLineItems, isRepair, partType) {
|
export function getLowestTierForType(glassToReplace, availableLineItems, isRepair, partType) {
|
||||||
|
|
|
||||||
|
|
@ -956,7 +956,7 @@ function setupMocks(customMountOptions) {
|
||||||
const mockMixin = {
|
const mockMixin = {
|
||||||
methods: {
|
methods: {
|
||||||
getCmsContent: jest.fn((widgetName, cmsFieldName) => {
|
getCmsContent: jest.fn((widgetName, cmsFieldName) => {
|
||||||
return (cmsContent?.[widgetName]?.[cmsFieldName]) ?? "";
|
return cmsContent?.[widgetName]?.[cmsFieldName] ?? "";
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue