Cover bootstrap timeout upper bound acceptance

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 02:47:27 +00:00
1 parent 9b8d67e932
commit a020b53e44
1 file changed
+9
+9
View File
@@ -278,6 +278,15 @@ describe("runtimeApiServer", () => {
).rejects.toThrow("Invalid bootstrapSessionTimeoutMs");
});
it("accepts bootstrap timeout at configured upper bound", async () => {
const server = await startRuntimeApiServer({
port: 0,
launchCwd: process.cwd(),
bootstrapSessionTimeoutMs: 120_000,
});
servers.push(server);
});
it("rejects empty auth token configuration", async () => {
await expect(
startRuntimeApiServer({