ACP: strengthen allowlist regression coverage

This commit is contained in:
Vincent Koc 2026-03-14 23:19:20 -07:00
parent 6628db8d61
commit 050c22668a
1 changed files with 1 additions and 0 deletions

View File

@ -1148,6 +1148,7 @@ describe("spawnAcpDirect", () => {
status: "forbidden",
error: "agentId is not allowed for sessions_spawn (allowed: research)",
});
expect(hoisted.callGatewayMock).not.toHaveBeenCalled();
expect(hoisted.initializeSessionMock).not.toHaveBeenCalled();
});
});