From cd993f4584e7ff3ea5368a3dfadf7efa63509f9b Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 06:38:15 +0100 Subject: [PATCH] test: dedupe cron fast mode mock read --- src/cron/isolated-agent/run.fast-mode.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cron/isolated-agent/run.fast-mode.test.ts b/src/cron/isolated-agent/run.fast-mode.test.ts index 59f8a0995e6..617ef08b977 100644 --- a/src/cron/isolated-agent/run.fast-mode.test.ts +++ b/src/cron/isolated-agent/run.fast-mode.test.ts @@ -35,7 +35,7 @@ function mockSuccessfulModelFallback() { } function requireFirstMockCall(mock: { mock: { calls: T[][] } }, label: string): T[] { - const call = mock.mock.calls.at(0); + const call = mock.mock.calls[0]; if (!call) { throw new Error(`expected ${label} call`); }