From 19c8cdb97033f1a317e9a2a67a9429b18d02f261 Mon Sep 17 00:00:00 2001 From: john Date: Fri, 14 Aug 2026 22:27:26 +0800 Subject: [PATCH] test(wechat): give voice reco polling enough time in CI The mocked second poll result was racing a 50ms deadline on a loaded runner, so CI failed with an empty transcript. Co-authored-by: Cursor --- wechat-voice-reco.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wechat-voice-reco.test.mjs b/wechat-voice-reco.test.mjs index f5b18b4..6836306 100644 --- a/wechat-voice-reco.test.mjs +++ b/wechat-voice-reco.test.mjs @@ -45,7 +45,7 @@ test('transcribeWechatVoiceViaRecoApi uploads mp3 and polls reco result', async }, convertToMp3: async () => mp3Buffer, pollIntervalMs: 1, - pollTimeoutMs: 50, + pollTimeoutMs: 2_000, now: () => Date.now(), });