Skip to content

Commit 2ef511a

Browse files
authored
fix(cli): drop duplicate object properties breaking the main build (#10022)
#9998 re-added getSessionDisplayName and getCurrentCustomTitle to the session-swap telemetry fakes, which already declared both. TS1117 fails tsc --build, breaking every workflow that runs npm run build on main.
1 parent 463809c commit 2ef511a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/cli/src/ui/hooks/session-swap-telemetry.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ function makeFakeEnv() {
194194
}),
195195
renameSession: vi.fn().mockResolvedValue(true),
196196
findSessionTitlesByPrefix: vi.fn().mockResolvedValue([]),
197-
getSessionDisplayName: vi.fn().mockResolvedValue(undefined),
198197
};
199198

200199
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -208,7 +207,6 @@ function makeFakeEnv() {
208207
return currentSessionId;
209208
},
210209
getChatRecordingService: () => ({
211-
getCurrentCustomTitle: () => undefined,
212210
finalize: vi.fn(),
213211
flush: vi.fn().mockResolvedValue(undefined),
214212
rebuildTurnBoundaries: vi.fn(),

0 commit comments

Comments
 (0)