Trek_CN/server/tests/helpers
jubnl 714e2ad703
fix(tests): update test helpers and assertions for migration-98 photo schema
trek_photos is now the central registry; trip_photos and journey_photos
reference it via photo_id FK. Updated all affected test helpers and
direct-SQL assertions to join trek_photos instead of querying stale
columns (asset_id, provider, owner_id) on the leaf tables.

Also fix ATLAS-UNIT-019: getVisitedRegions now fires background geocoding
and returns immediately, so the test must call it twice — once to trigger
the fill, once after advancing fake timers to read cached results.
2026-04-14 13:54:48 +02:00
..
auth.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
factories.ts fix(tests): update test helpers and assertions for migration-98 photo schema 2026-04-14 13:54:48 +02:00
mcp-harness.ts test(mcp): add tests for OAuth 2.1, addon gating, and budget reorder 2026-04-09 23:12:59 +02:00
test-db.ts test: comprehensive Journey test suite — 89.5% new code coverage 2026-04-12 01:19:53 +02:00
ws-client.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00