mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 18:38:28 +00:00
chore: Fix types in tests 25/N.
This commit is contained in:
@@ -57,7 +57,8 @@ async function setTestSessionStore(params: {
|
||||
}
|
||||
|
||||
function latestAgentCall(): AgentCommandCall {
|
||||
return vi.mocked(agentCommand).mock.calls.at(-1)?.[0] as AgentCommandCall;
|
||||
const calls = vi.mocked(agentCommand).mock.calls as unknown as Array<[unknown]>;
|
||||
return calls.at(-1)?.[0] as AgentCommandCall;
|
||||
}
|
||||
|
||||
async function runMainAgentDeliveryWithSession(params: {
|
||||
|
||||
Reference in New Issue
Block a user