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`); }