From 9287aa5ef753d0e234f827ffd7db002d9f6f9982 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 03:16:21 +0100 Subject: [PATCH] test: dedupe channel setup mock reads --- src/flows/channel-setup.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flows/channel-setup.test.ts b/src/flows/channel-setup.test.ts index 0d1fe0dbb0f..891fecf2731 100644 --- a/src/flows/channel-setup.test.ts +++ b/src/flows/channel-setup.test.ts @@ -79,7 +79,7 @@ function makePluginRegistry(overrides: Partial = {}): PluginRegi } function callArg(mock: { mock: { calls: unknown[][] } }, index = 0, _type?: (value: T) => T): T { - const call = mock.mock.calls.at(index); + const call = mock.mock.calls[index]; if (!call) { throw new Error(`Expected mock call ${index}`); } @@ -87,7 +87,7 @@ function callArg(mock: { mock: { calls: unknown[][] } }, index = 0, _type?: ( } function mockCall(mock: { mock: { calls: unknown[][] } }, index = 0): unknown[] { - const call = mock.mock.calls.at(index); + const call = mock.mock.calls[index]; if (!call) { throw new Error(`Expected mock call ${index}`); }