diff --git a/src/main/agent-hooks/first-work-branch-rename.test.ts b/src/main/agent-hooks/first-work-branch-rename.test.ts index 93d15e5a2e6..2464b3bf2a0 100644 --- a/src/main/agent-hooks/first-work-branch-rename.test.ts +++ b/src/main/agent-hooks/first-work-branch-rename.test.ts @@ -103,7 +103,6 @@ describe('maybeAutoRenameBranchOnFirstWork', () => { const journal = { lastActivityAt: () => 0, snapshot: () => ({ items }), - lastActivityAt: () => 1, isReadOnly: false } as unknown as AgentSessionJournal const pending: Promise[] = [] @@ -176,7 +175,6 @@ describe('maybeAutoRenameBranchOnFirstWork', () => { const journal = { lastActivityAt: () => 0, isReadOnly: false, - lastActivityAt: () => 1, snapshot: () => ({ items: [ { body: { kind: 'message', role: 'user', blocks: [{ type: 'text', text: 'Fix auth' }] } },