From 6b111eae4acad7e0d6c669fc1dd4a76a3d4f70dd Mon Sep 17 00:00:00 2001 From: sudacode Date: Fri, 3 Apr 2026 17:57:11 -0700 Subject: [PATCH] test: fix setup gate timeout regression --- launcher/setup-gate.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/launcher/setup-gate.test.ts b/launcher/setup-gate.test.ts index 85ed3101..d3679477 100644 --- a/launcher/setup-gate.test.ts +++ b/launcher/setup-gate.test.ts @@ -162,7 +162,10 @@ test('ensureLauncherSetupReady fails on timeout/cancelled state', async () => { }), launchSetupApp: () => undefined, sleep: async () => undefined, - now: () => 0, + now: (() => { + let value = 0; + return () => (value += 100); + })(), timeoutMs: 5_000, pollIntervalMs: 100, });