diff --git a/src/js/scorecard.ts b/src/js/scorecard.ts index 48edec8..92eac90 100644 --- a/src/js/scorecard.ts +++ b/src/js/scorecard.ts @@ -23,7 +23,9 @@ const generateScorecard = (entry: ScoreCardDetails): string => { } listEntries.push(`City type: ${entry.cityType}`); listEntries.push(`${entry.population} residents - city proper`); - listEntries.push(`${entry.urbanizedAreaPopulation} residents - urban area`); + listEntries.push( + `${entry.urbanizedAreaPopulation} residents - urbanized area` + ); let reformsLine = `Parking reforms ${entry.reforms}`; if (entry.url) { diff --git a/tests/app/setUpSite.test.ts b/tests/app/setUpSite.test.ts index c30a478..be7fe86 100644 --- a/tests/app/setUpSite.test.ts +++ b/tests/app/setUpSite.test.ts @@ -85,7 +85,7 @@ test("correctly load the city score card", async ({ page }) => { `${albanyExpected.parkingScore}/100 parking score (lower is better)`, `City type: ${albanyExpected.cityType}`, `${albanyExpected.population} residents - city proper`, - `${albanyExpected.urbanizedAreaPopulation} residents - urban area`, + `${albanyExpected.urbanizedAreaPopulation} residents - urbanized area`, `Parking reforms ${albanyExpected.reforms} (details )`, ]); expect(new Set(contentLines)).toEqual(expectedLines);