chore: Fix types in tests 25/N.

This commit is contained in:
cpojer
2026-02-17 14:31:02 +09:00
parent 600022cdcc
commit 6e5df1dc0f
16 changed files with 118 additions and 78 deletions

View File

@@ -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: {