fix(test): satisfy tsgo on systemPrompt test route mock

route mock was missing channel, lastRoutePolicy, matchedBy required by
ResolvedAgentRoute (src/routing/resolve-route.ts:46). Add them so
check-test-types stays green.
This commit is contained in:
Omar Shahine
2026-05-08 21:21:37 +00:00
parent 1713c053d6
commit 7d844dee37

View File

@@ -202,8 +202,11 @@ describe("buildIMessageInboundContext forwards GroupSystemPrompt", () => {
route: {
accountId: "default",
agentId: "lobster",
channel: "imessage",
sessionKey: "k",
mainSessionKey: "mk",
lastRoutePolicy: "main",
matchedBy: "default",
},
bodyText: "hi",
createdAt: undefined,