Trek_CN/server/tests/unit
Maurice 0b2780ead2 test: make the Google Maps ftid path honest + cover the URL helper
The Places API googleMapsUri is a cid-style URL with no ftid, so the
search/getPlaceDetails fixtures had stored a fabricated ftid. Switch them
to real cid URLs and assert google_ftid is null — the precise
query_place_id link still fixes the wrong-spot bug — and document the
behaviour on googleFtidFromMapsUrl.

- add a direct googleFtidFromMapsUrl test: extracts a real /place ftid,
  returns null for a cid URL, rejects malformed/hostile values
- add placeGoogleMaps.test.ts covering the whole fallback chain
  (ftid -> place_id -> details URL -> coords) and the hostile-ftid rejection
- PlaceInspector: use a freshly-fetched ftid when the place hasn't stored one
2026-06-27 20:14:52 +02:00
..
db Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
mcp v3.1.1 bug fixes (#1228) 2026-06-18 20:13:30 +02:00
middleware Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
nest test(days): bump over-long-time assertion to the new 250 limit (#1252) 2026-06-23 21:23:39 +02:00
services test: make the Google Maps ftid path honest + cover the URL helper 2026-06-27 20:14:52 +02:00
systemNotices feat(system-notices): replace expiresAt with [minVersion, maxVersion) version gate 2026-04-17 20:03:23 +02:00
utils Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
idempotency-cleanup.test.ts Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
scheduler.test.ts Bug fixes - April 27th 2026 (#907) 2026-04-28 05:17:20 +02:00
shared-contract.test.ts Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00