@@ -175,7 +175,7 @@ function createExternalIngestIndex(
175175 client ?: IExternalIngestClient ,
176176) : ExternalIngestIndex {
177177 const resolvedClient = client ?? instantiationService . createInstance ( ExternalIngestClient ) ;
178- return instantiationService . createInstance ( ExternalIngestIndex , resolvedClient ) ;
178+ return instantiationService . createInstance ( ExternalIngestIndex , resolvedClient , [ ] ) ;
179179}
180180
181181type MockExternalIngestClient = ReturnType < typeof createMockExternalIngestClient > ;
@@ -217,7 +217,7 @@ suite('ExternalIngestIndex', () => {
217217
218218 const accessor = disposables . add ( testingServiceCollection . createTestingAccessor ( ) ) ;
219219 const instantiationService = accessor . get ( IInstantiationService ) ;
220- const index = disposables . add ( instantiationService . createInstance ( ExternalIngestIndex , mockClient ) ) ;
220+ const index = disposables . add ( instantiationService . createInstance ( ExternalIngestIndex , mockClient , [ ] ) ) ;
221221
222222 return { files, mockFs, mockClient, index } ;
223223 }
@@ -241,7 +241,7 @@ suite('ExternalIngestIndex', () => {
241241 const instantiationService = accessor . get ( IInstantiationService ) ;
242242
243243 const mockClient = createMockExternalIngestClient ( ) ;
244- const index = disposables . add ( instantiationService . createInstance ( ExternalIngestIndex , mockClient ) ) ;
244+ const index = disposables . add ( instantiationService . createInstance ( ExternalIngestIndex , mockClient , [ ] ) ) ;
245245
246246 index . updateCodeSearchRoots ( [ codeSearchRoot ] ) ;
247247
@@ -260,7 +260,7 @@ suite('ExternalIngestIndex', () => {
260260 const instantiationService = accessor . get ( IInstantiationService ) ;
261261
262262 const mockClient = createMockExternalIngestClient ( ) ;
263- const index = disposables . add ( instantiationService . createInstance ( ExternalIngestIndex , mockClient ) ) ;
263+ const index = disposables . add ( instantiationService . createInstance ( ExternalIngestIndex , mockClient , [ ] ) ) ;
264264
265265 index . updateCodeSearchRoots ( [ codeSearchRoot ] ) ;
266266
@@ -279,7 +279,7 @@ suite('ExternalIngestIndex', () => {
279279 const instantiationService = accessor . get ( IInstantiationService ) ;
280280
281281 const mockClient = createMockExternalIngestClient ( ) ;
282- const index = disposables . add ( instantiationService . createInstance ( ExternalIngestIndex , mockClient ) ) ;
282+ const index = disposables . add ( instantiationService . createInstance ( ExternalIngestIndex , mockClient , [ ] ) ) ;
283283
284284 const file1 = URI . joinPath ( root1 , 'file.ts' ) ;
285285 const file2 = URI . joinPath ( root2 , 'file.ts' ) ;
@@ -299,7 +299,7 @@ suite('ExternalIngestIndex', () => {
299299 const instantiationService = accessor . get ( IInstantiationService ) ;
300300
301301 const mockClient = createMockExternalIngestClient ( ) ;
302- disposables . add ( instantiationService . createInstance ( ExternalIngestIndex , mockClient ) ) ;
302+ disposables . add ( instantiationService . createInstance ( ExternalIngestIndex , mockClient , [ ] ) ) ;
303303
304304 // The mock client is now injected - tests can verify what files would be ingested
305305 assert . strictEqual ( mockClient . ingestedFiles . length , 0 , 'No files ingested yet' ) ;
@@ -318,7 +318,7 @@ suite('ExternalIngestIndex', () => {
318318 testingServiceCollection . set ( IWorkspaceService , new MockWorkspaceService ( [ URI . file ( '/workspace' ) ] ) ) ;
319319 const customAccessor = disposables . add ( testingServiceCollection . createTestingAccessor ( ) ) ;
320320 const customInstantiationService = customAccessor . get ( IInstantiationService ) ;
321- disposables . add ( customInstantiationService . createInstance ( ExternalIngestIndex , mockClient ) ) ;
321+ disposables . add ( customInstantiationService . createInstance ( ExternalIngestIndex , mockClient , [ ] ) ) ;
322322
323323 // The mock file system and client are now injected
324324 // Tests can verify file operations and ingestion behavior
0 commit comments