Trek_CN/server/tests
jubnl 82f08360d7
fix(mcp): route search_place through mapsService to support Google Maps
The search_place MCP tool was hardcoding a direct Nominatim call, ignoring
any configured Google Maps API key and never returning google_place_id despite
the tool description advertising it. Replace the inline fetch with the existing
searchPlaces() service which already switches between Google and Nominatim.

Update unit tests to mock mapsService instead of global fetch, and add a
dedicated test case for the Google path returning google_place_id.

Closes #424
2026-04-05 15:38:19 +02:00
..
fixtures Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
helpers feat(notifications): add unified multi-channel notification system 2026-04-05 01:22:18 +02:00
integration fix(memories): fix deprecated immich route regressions from PR #336 2026-04-05 15:19:13 +02:00
unit fix(mcp): route search_place through mapsService to support Google Maps 2026-04-05 15:38:19 +02:00
websocket Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
setup.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00