mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
test: replace console.log with assertion for agent mode verification
This commit is contained in:
@@ -78,7 +78,7 @@ describe("AgentManager", () => {
|
||||
expect(content).toContain("hello world");
|
||||
|
||||
const agentInfo = manager.listAgents().find((a) => a.id === agentId);
|
||||
console.log("Final agent mode:", agentInfo?.currentModeId);
|
||||
expect(agentInfo?.currentModeId).toBe("acceptEdits");
|
||||
} finally {
|
||||
unsubscribe();
|
||||
await manager.killAgent(agentId);
|
||||
|
||||
Reference in New Issue
Block a user