From ce712f503fe17c46d3db7fdacd322487aa983edc Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 04:57:39 +0100 Subject: [PATCH] test: dedupe run main mock read --- src/cli/run-main.exit.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/run-main.exit.test.ts b/src/cli/run-main.exit.test.ts index d40b59a7a8a..45986b3defd 100644 --- a/src/cli/run-main.exit.test.ts +++ b/src/cli/run-main.exit.test.ts @@ -54,7 +54,7 @@ const maybeRunCliInContainerMock = vi.hoisted(() => ); function requireRunCrestodianOptions(index = 0): { onReady?: unknown } { - const call = runCrestodianMock.mock.calls.at(index); + const call = runCrestodianMock.mock.calls[index]; if (!call) { throw new Error(`expected runCrestodian call ${index}`); }