Assert full app.health payload in runtime integration test

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-09 23:57:15 +00:00
1 parent 4eeb87d476
commit 123a7a62bc
1 file changed
+6
+6
View File
@@ -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();
});