From 8ebb18416ab1ba3752a4eae6d2c277c2ab8a4deb Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 07:44:38 +0100 Subject: [PATCH] test: dedupe shell env exec mock read --- src/infra/shell-env.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infra/shell-env.test.ts b/src/infra/shell-env.test.ts index ce14462d825..56a29d530b8 100644 --- a/src/infra/shell-env.test.ts +++ b/src/infra/shell-env.test.ts @@ -95,7 +95,7 @@ describe("shell env fallback", () => { } function requireExecCall(exec: ReturnType): unknown[] { - const call = exec.mock.calls.at(0); + const call = exec.mock.calls[0]; if (!call) { throw new Error("expected shell env exec call"); }