Skip to content

armgit / TREK

Public Imported from GitHub
0

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.

style(server): format the legs-only seat test

Maurice7006891ce052
diff --git a/server/tests/unit/mcp/tools-transports.test.ts b/server/tests/unit/mcp/tools-transports.test.ts
index ca23532de..672e380e0 100644
--- a/server/tests/unit/mcp/tools-transports.test.ts
+++ b/server/tests/unit/mcp/tools-transports.test.ts
@@ -1764,7 +1764,10 @@ describe('update_transport: the flat keys of a legs-only update', () => {
const trip = await makeTrip(orm, user.id);
await withHarness(user.id, async (h) => {
const data = await create(h, trip.id);
- const legs = [{ from: 'AMS', to: 'CDG' }, { from: 'CDG', to: 'FCO' }];
+ const legs = [
+ { from: 'AMS', to: 'CDG' },
+ { from: 'CDG', to: 'FCO' },
+ ];
await setMetadata(JSON.stringify({ seat: '22F', legs }), data.reservation.id);
await updateLegs(h, trip.id, data.reservation.id, legs);