Formatting

This commit is contained in:
Chloe Herd 2023-07-13 11:05:33 -04:00
parent 2229c96011
commit 717a8c50b5
2 changed files with 2 additions and 5 deletions

View file

@ -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) {

View file

@ -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] ?? "";
}), }),
}, },
}; };