test: tighten voice continue operation id · openclaw/openclaw@b972e20
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -807,7 +807,9 @@ describe("voice-call plugin", () => {
|
807 | 807 | | undefined; |
808 | 808 | expect(startPayload).toEqual( |
809 | 809 | expect.objectContaining({ |
810 | | -operationId: expect.any(String), |
| 810 | +operationId: expect.stringMatching( |
| 811 | +/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/iu, |
| 812 | +), |
811 | 813 | status: "pending", |
812 | 814 | pollTimeoutMs: 180000, |
813 | 815 | }), |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。