From 786eac1d6f09552d743b59bf1fb0bd261c1f31a0 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 10 Jan 2026 23:35:04 +0100 Subject: [PATCH] test(cli): avoid update-cli import timeout --- src/cli/update-cli.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/cli/update-cli.test.ts b/src/cli/update-cli.test.ts index 8a5f3296ed1..bde1dd6bfa6 100644 --- a/src/cli/update-cli.test.ts +++ b/src/cli/update-cli.test.ts @@ -22,13 +22,17 @@ vi.mock("../runtime.js", () => ({ })); describe("update-cli", () => { - it("exports updateCommand and registerUpdateCli", async () => { + it( + "exports updateCommand and registerUpdateCli", + async () => { const { updateCommand, registerUpdateCli } = await import( "./update-cli.js" ); expect(typeof updateCommand).toBe("function"); expect(typeof registerUpdateCli).toBe("function"); - }); + }, + 20_000, + ); it("updateCommand runs update and outputs result", async () => { const { runGatewayUpdate } = await import("../infra/update-runner.js");