Almost done updating tests

This commit is contained in:
Michaela Brydon 2024-08-15 14:51:39 -04:00
parent 93ed73da31
commit ba988473a1
2 changed files with 489 additions and 460 deletions

File diff suppressed because it is too large Load diff

View file

@ -252,7 +252,7 @@ export default {
},
serviceLocationFullAddress() {
var { address, address2, city, state, zipCode } = this.serviceLocation;
return `${address}, ${address2 ? `${address2},` : ''}<br/> ${city}, ${state} ${zipCode}`;
return `${address ?? ''}, ${address2 ? `${address2},` : ''}<br/> ${city ?? ''}, ${state ?? ''} ${zipCode ?? ''}`;
},
providerFullAddress() {
var { streetAddress, city, state, zipCode } = this.providerAddress;
@ -380,10 +380,8 @@ export default {
rawText,
'custom',
(v) => { return this.customValueMap[v] }
)
const x = getStringWithCustomValues(processedIfStatements, this.customValueMap);
console.log(JSON.stringify(x));
return x;
);
return getStringWithCustomValues(processedIfStatements, this.customValueMap);
},
formatDate(date) {
// This conversion ensures we don't get get GMT induced date changes