test: tighten voice continue operation id

This commit is contained in:
Peter Steinberger
2026-05-09 06:51:43 +01:00
parent 9162d547a5
commit b972e207cf

View File

@@ -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,
}),