Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions integration-tests/cli/acp-integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -748,8 +748,15 @@ function setupAcpTest(
})) as { sessionId: string };
expect(newSession.sessionId).toBeTruthy();

// Wait for available_commands_update to be received
await delay(1000);
await rig.poll(
() =>
sessionUpdates.some(
Comment thread
yiliang114 marked this conversation as resolved.
Comment thread
yiliang114 marked this conversation as resolved.
(update) =>
update.update?.sessionUpdate === 'available_commands_update',
),
5000,
100,
);

// Verify available_commands_update is received
const commandsUpdate = sessionUpdates.find(
Expand Down
Loading