Trek_CN/server/tests/integration
jubnl e2be3ec191
fix(atlas): replace fuzzy region matching with exact name_en check
Bidirectional substring matching in isVisitedFeature caused unrelated
regions to be highlighted as visited (e.g. selecting Nordrhein-Westfalen
also marked Nord France due to "nord" being a substring match).

Replace the fuzzy loop with an additional exact check against the Natural
Earth name_en property to cover English-vs-native name mismatches.
Also fix Nominatim field priority to prefer state over county so
reverse-geocoded places resolve to the correct admin-1 level.

Adds integration tests ATLAS-009 through ATLAS-011 covering mark/unmark
region endpoints and user isolation.

Fixes #446
2026-04-05 23:38:34 +02:00
..
admin.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
assignments.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
atlas.test.ts fix(atlas): replace fuzzy region matching with exact name_en check 2026-04-05 23:38:34 +02:00
auth.test.ts fix(mfa): generate SVG QR code 2026-04-05 17:15:19 +02:00
backup.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
budget.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
collab.test.ts fix: collab note attachments broken (#343) 2026-04-03 14:11:18 +02:00
dayNotes.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
days.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
files.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
health.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
immich.test.ts refactor(server): replace node-fetch with native fetch + undici, fix photo integrations 2026-04-05 21:12:51 +02:00
maps.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
mcp.test.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00
memories-immich.test.ts refactor(server): replace node-fetch with native fetch + undici, fix photo integrations 2026-04-05 21:12:51 +02:00
memories-synology.test.ts refactor(server): replace node-fetch with native fetch + undici, fix photo integrations 2026-04-05 21:12:51 +02:00
memories-unified.test.ts refactor(server): replace node-fetch with native fetch + undici, fix photo integrations 2026-04-05 21:12:51 +02:00
misc.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
notifications.test.ts feat(notifications): add unified multi-channel notification system 2026-04-05 01:22:18 +02:00
packing.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
places.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
profile.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
reservations.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
security.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
share.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
trips.test.ts test(trips): update TRIP-002 for dateless trips and add day_count test 2026-04-05 16:29:29 +02:00
vacay.test.ts refactor(server): replace node-fetch with native fetch + undici, fix photo integrations 2026-04-05 21:12:51 +02:00
weather.test.ts refactor(server): replace node-fetch with native fetch + undici, fix photo integrations 2026-04-05 21:12:51 +02:00