From 123a7a62bc0ed1522760a884820ccbe33ac2360a Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 9 Feb 2026 23:57:15 +0000 Subject: [PATCH] Assert full app.health payload in runtime integration test Co-authored-by: Theo Browne --- apps/t3/src/runtimeApiServer.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/t3/src/runtimeApiServer.test.ts b/apps/t3/src/runtimeApiServer.test.ts index c3113e5ce9..73a1c621b8 100644 --- a/apps/t3/src/runtimeApiServer.test.ts +++ b/apps/t3/src/runtimeApiServer.test.ts @@ -197,9 +197,15 @@ describe("runtimeApiServer", () => { } const payload = response.result as { + status: string; launchCwd: string; + sessionCount: number; + activeClientConnected: boolean; }; + expect(payload.status).toBe("ok"); expect(payload.launchCwd).toBe(process.cwd()); + expect(payload.sessionCount).toBeGreaterThanOrEqual(0); + expect(payload.activeClientConnected).toBe(true); client.socket.close(); });