Cover bootstrap timeout upper bound acceptance
Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
9b8d67e932
commit
a020b53e44
1 file changed
+9
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user