From 75b853a4dd30febf05d35a7bd2f084434c5a3703 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 11:08:28 +0000 Subject: [PATCH] Assert null agent void RPC results in runtime server tests Co-authored-by: Theo Browne --- apps/t3/src/runtimeApiServer.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/t3/src/runtimeApiServer.test.ts b/apps/t3/src/runtimeApiServer.test.ts index aca6e19d29..ba07fad0ad 100644 --- a/apps/t3/src/runtimeApiServer.test.ts +++ b/apps/t3/src/runtimeApiServer.test.ts @@ -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,