mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 22:50:46 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user