fix(web): include ward in address display across card views

- property-card.tsx: add ward between address and district in both
  card (line 189) and list (line 95) layouts
- transfer-listing-card.tsx: conditionally prepend ward to
  district/city when ward is non-null
- property-card.spec.tsx: update address test to assert ward is shown,
  add list-layout ward regression test (21/21 pass)

Standard format: {address}, {ward}, {district}, {city}
Compact (project-card, industrial-listing-card): district/city only —
intentional; ProjectSummary has no ward field.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-24 11:57:09 +07:00
parent d7c5b1ca2c
commit fbe28102a1
11 changed files with 118 additions and 17 deletions

View File

@@ -9,6 +9,7 @@
"start:prod": "node dist/main",
"lint": "eslint src/",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:integration": "vitest run --config vitest.integration.config.ts",
"typecheck": "tsc --noEmit"
},

View File

@@ -10,6 +10,30 @@ export default defineConfig({
env: {
BCRYPT_ROUNDS: '4',
},
coverage: {
provider: 'v8',
reporter: ['text', 'text-summary', 'html', 'lcov', 'json-summary'],
reportsDirectory: './coverage',
include: ['src/**/*.ts'],
exclude: [
'src/**/*.spec.ts',
'src/**/*.integration.spec.ts',
'src/**/__tests__/**',
'src/**/*.module.ts',
'src/**/*.dto.ts',
'src/**/index.ts',
'src/main.ts',
],
// GOO-134: CI gate thresholds. Branches starts at 58 (no-regression ratchet)
// and will be raised to 60 via follow-up GOO-180 (payments/sbv-compliance,
// subscriptions/quotas, auth/guards). CTO approval: 8f2b125a.
thresholds: {
statements: 70,
lines: 70,
functions: 70,
branches: 58,
},
},
},
resolve: {
alias: {