Trek_CN/server/tests/unit
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
..
mcp fix(mcp): route search_place through mapsService to support Google Maps 2026-04-05 15:38:19 +02:00
middleware Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
services fix(security): address notification system security audit findings 2026-04-05 03:36:50 +02:00
utils Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
scheduler.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00