From 12084fc4f9130603e020bc9a9b3afd1d969e52d1 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 31 Dec 2025 12:43:34 +0100 Subject: [PATCH] test: extend Z.AI live test timeout --- src/agents/zai.live.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/agents/zai.live.test.ts b/src/agents/zai.live.test.ts index d5f2424bd..df5cb1dec 100644 --- a/src/agents/zai.live.test.ts +++ b/src/agents/zai.live.test.ts @@ -7,7 +7,9 @@ const LIVE = process.env.ZAI_LIVE_TEST === "1" || process.env.LIVE === "1"; const describeLive = LIVE && ZAI_KEY ? describe : describe.skip; describeLive("zai live", () => { - it("returns assistant text", async () => { + it( + "returns assistant text", + async () => { const model = getModel("zai", "glm-4.7"); const res = await completeSimple( model, @@ -27,5 +29,7 @@ describeLive("zai live", () => { .map((block) => block.text.trim()) .join(" "); expect(text.length).toBeGreaterThan(0); - }); + }, + 20000, + ); });