From b972e207cfc0356f694d2e75ffe6e65a76a06090 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 9 May 2026 06:51:43 +0100 Subject: [PATCH] test: tighten voice continue operation id --- extensions/voice-call/index.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/voice-call/index.test.ts b/extensions/voice-call/index.test.ts index 5057dc1124d..0434d5f253a 100644 --- a/extensions/voice-call/index.test.ts +++ b/extensions/voice-call/index.test.ts @@ -807,7 +807,9 @@ describe("voice-call plugin", () => { | undefined; expect(startPayload).toEqual( expect.objectContaining({ - operationId: expect.any(String), + operationId: expect.stringMatching( + /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/iu, + ), status: "pending", pollTimeoutMs: 180000, }),