Assert full app.health payload in runtime integration test
Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
4eeb87d476
commit
123a7a62bc
1 file changed
+6
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user