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