From 4d01439c75bdee0279270b604a2129d96c7fca45 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sat, 21 Nov 2026 15:29:53 +0100 Subject: [PATCH] test(server): type the created transport in the legs-only seat test Server lint was red: the new MCP test cast its result to any, one no-explicit-any warning over the tests baseline. --- server/tests/unit/mcp/tools-transports.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tests/unit/mcp/tools-transports.test.ts b/server/tests/unit/mcp/tools-transports.test.ts index db84e3229..ca23532de 100644 --- a/server/tests/unit/mcp/tools-transports.test.ts +++ b/server/tests/unit/mcp/tools-transports.test.ts @@ -1731,7 +1731,7 @@ describe('update_transport: the flat keys of a legs-only update', () => { ], }, }), - ) as any; + ) as { reservation: { id: number } }; const updateLegs = (h: McpHarness, tripId: number, reservationId: number, legs: object[]) => h.client.callTool({ name: 'update_transport', arguments: { tripId, reservationId, legs } });