Assert null agent void RPC results in runtime server tests

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 11:08:28 +00:00
1 parent 12c03c6c98
commit 75b853a4dd
1 file changed
+2
+2
View File
@@ -2733,6 +2733,7 @@ describe("runtimeApiServer", () => {
},
);
expect(writeResponse.ok).toBe(true);
expect(writeResponse.result).toBeNull();
const outputEvent = await waitForAgentEvent(
client.nextMessage,
@@ -2752,6 +2753,7 @@ describe("runtimeApiServer", () => {
sessionId,
);
expect(killResponse.ok).toBe(true);
expect(killResponse.result).toBeNull();
const exitEvent = await waitForAgentEvent(
client.nextMessage,