mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 19:00:43 +00:00
test: tighten voice call webhook security assertion
This commit is contained in:
@@ -104,7 +104,8 @@ function expectAcceptedWebhookVersion(
|
||||
result: { ok: boolean; version?: string },
|
||||
version: "v2" | "v3",
|
||||
) {
|
||||
expect(result).toMatchObject({ ok: true, version });
|
||||
expect(result.ok).toBe(true);
|
||||
expect(result.version).toBe(version);
|
||||
}
|
||||
|
||||
function verifyTwilioNgrokLoopback(signature: string) {
|
||||
|
||||
Reference in New Issue
Block a user