From ec031211a23f22251c05a486f25010705f5c7da7 Mon Sep 17 00:00:00 2001 From: Lukas May Date: Mon, 2 Mar 2026 12:19:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Resolve=20advanceTimers=20return=20type?= =?UTF-8?q?=20mismatch=20(Promise=20=E2=86=92=20Promise?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/harness.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/harness.ts b/src/test/harness.ts index 245ed78..d635e67 100644 --- a/src/test/harness.ts +++ b/src/test/harness.ts @@ -518,7 +518,7 @@ export function createTestHarness(): TestHarness { }, // Timer helper - requires vi.useFakeTimers() to be active - advanceTimers: () => vi.runAllTimersAsync(), + advanceTimers: async () => { await vi.runAllTimersAsync(); }, withFakeTimers: async (fn: () => Promise) => { vi.useFakeTimers();