The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
test(atlas): cache the test places' regions in one go rather than an awaited loop
Mauriceec7f5e05854f
diff --git a/server/tests/unit/nest/travel-stats.service.test.ts b/server/tests/unit/nest/travel-stats.service.test.tsindex 94524a333..9c7c079dc 100644--- a/server/tests/unit/nest/travel-stats.service.test.ts+++ b/server/tests/unit/nest/travel-stats.service.test.ts@@ -634,7 +634,7 @@ describe('Atlas page and passport card count the same places and cities (#3137)'lng: 12.0972,address: 'Steinerne Bruecke, Regensburg, Bavaria, Germany',});- for (const id of [hotelA, hotelB, square, castle, bridge]) await cacheRegion(id, 'Bavaria');+ await Promise.all([hotelA, hotelB, square, castle, bridge].map((id) => cacheRegion(id, 'Bavaria')));// A bare name holds no city, and two places without address or coordinates are two places.await addPlace(first.id, 'Beer garden', { address: 'Augustiner Keller' });await addPlace(second.id, 'Beer hall', { address: 'Hofbraeuhaus' });