mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 19:40:34 +00:00
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.
This commit is contained in:
@@ -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 } });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user