From f62cc5ef3ea11262e281a32689327148af5cf21d Mon Sep 17 00:00:00 2001 From: ddCat <2695092045@qq.com> Date: Tue, 18 Aug 2026 15:43:25 +0800 Subject: [PATCH] =?UTF-8?q?style(web):=20=E5=8D=B3=E6=A2=A6=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E7=9B=AE=E5=BD=95=E6=B5=8B=E8=AF=95=20-=20=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E6=B5=8B=E8=AF=95=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/test/local-dreamina-model-catalog.test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/test/local-dreamina-model-catalog.test.ts b/web/test/local-dreamina-model-catalog.test.ts index 62e278394..f6ea34712 100644 --- a/web/test/local-dreamina-model-catalog.test.ts +++ b/web/test/local-dreamina-model-catalog.test.ts @@ -296,10 +296,7 @@ test("Dreamina catalog timeout releases a hung shared request so generation can await expect(first).rejects.toMatchObject({ name: "AbortError" }); await Bun.sleep(20); - const recovered = await Promise.race([ - store.getState().ensureReady(), - Bun.sleep(40).then(() => "stuck" as const), - ]); + const recovered = await Promise.race([store.getState().ensureReady(), Bun.sleep(40).then(() => "stuck" as const)]); expect(recovered).not.toBe("stuck"); expect(recovered).toMatchObject([{ id: "seedance-recovered" }]); expect(store.getState()).toMatchObject({ state: "ready", cacheScope: `${"a".repeat(64)}:4` });