From 31ea86bf7d4e6db807c3423dabd062168a919393 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 01:25:54 +0100 Subject: [PATCH] test: dedupe agents identity mock read --- src/commands/agents.identity.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/agents.identity.test.ts b/src/commands/agents.identity.test.ts index 995b8dacd7d..4f05e8896b0 100644 --- a/src/commands/agents.identity.test.ts +++ b/src/commands/agents.identity.test.ts @@ -43,7 +43,7 @@ async function writeIdentityFile(workspace: string, lines: string[]) { } function getWrittenMainIdentity() { - const [written] = configMocks.writeConfigFile.mock.calls.at(0) ?? []; + const [written] = configMocks.writeConfigFile.mock.calls[0] ?? []; if (!written) { throw new Error("expected written agent config"); }