From e68dfa511e0f2ef5f008f722db7a29c8b7b0922a Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 05:26:12 +0100 Subject: [PATCH] test: dedupe gateway hook mock read --- src/plugins/wired-hooks-gateway.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/wired-hooks-gateway.test.ts b/src/plugins/wired-hooks-gateway.test.ts index 19ad85f7252..c28a04c87be 100644 --- a/src/plugins/wired-hooks-gateway.test.ts +++ b/src/plugins/wired-hooks-gateway.test.ts @@ -32,7 +32,7 @@ async function expectGatewayHookCall(params: { } function requireFirstMockCall(mock: { mock: { calls: unknown[][] } }, label: string): unknown[] { - const call = mock.mock.calls.at(0); + const call = mock.mock.calls[0]; if (!call) { throw new Error(`expected ${label} call`); }