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