@@ -37,14 +37,12 @@ export const createMockCommandContext = (
3737 } ,
3838 services : {
3939 agentContext : null ,
40-
4140 settings : {
4241 merged : defaultMergedSettings ,
4342 setValue : vi . fn ( ) ,
4443 forScope : vi . fn ( ) . mockReturnValue ( { settings : { } } ) ,
4544 } as unknown as LoadedSettings ,
4645 git : undefined as GitService | undefined ,
47-
4846 logger : {
4947 log : vi . fn ( ) ,
5048 logMessage : vi . fn ( ) ,
@@ -53,7 +51,6 @@ export const createMockCommandContext = (
5351 // eslint-disable-next-line @typescript-eslint/no-explicit-any
5452 } as any , // Cast because Logger is a class.
5553 } ,
56-
5754 ui : {
5855 addItem : vi . fn ( ) ,
5956 clear : vi . fn ( ) ,
@@ -72,7 +69,6 @@ export const createMockCommandContext = (
7269 } as any ,
7370 session : {
7471 sessionShellAllowlist : new Set < string > ( ) ,
75-
7672 stats : {
7773 sessionStartTime : new Date ( ) ,
7874 lastPromptTokenCount : 0 ,
@@ -98,7 +94,6 @@ export const createMockCommandContext = (
9894 for ( const key in source ) {
9995 if ( Object . prototype . hasOwnProperty . call ( source , key ) ) {
10096 const sourceValue = source [ key ] ;
101-
10297 const targetValue = output [ key ] ;
10398
10499 if (
@@ -109,7 +104,6 @@ export const createMockCommandContext = (
109104 output [ key ] = merge ( targetValue , sourceValue ) ;
110105 } else {
111106 // If not, we do a direct assignment. This preserves Date objects and others.
112-
113107 output [ key ] = sourceValue ;
114108 }
115109 }
0 commit comments