@@ -249,6 +249,7 @@ export function workbenchInstantiationService(
249
249
const environmentService = overrides ?. environmentService ? overrides . environmentService ( instantiationService ) : TestEnvironmentService ;
250
250
instantiationService . stub ( IEnvironmentService , environmentService ) ;
251
251
instantiationService . stub ( IWorkbenchEnvironmentService , environmentService ) ;
252
+ instantiationService . stub ( ILogService , new NullLogService ( ) ) ;
252
253
const contextKeyService = overrides ?. contextKeyService ? overrides . contextKeyService ( instantiationService ) : instantiationService . createInstance ( MockContextKeyService ) ;
253
254
instantiationService . stub ( IContextKeyService , contextKeyService ) ;
254
255
instantiationService . stub ( IProgressService , new TestProgressService ( ) ) ;
@@ -306,7 +307,6 @@ export function workbenchInstantiationService(
306
307
instantiationService . stub ( IHostService , < IHostService > instantiationService . createInstance ( TestHostService ) ) ;
307
308
instantiationService . stub ( ITextModelService , < ITextModelService > disposables . add ( instantiationService . createInstance ( TextModelResolverService ) ) ) ;
308
309
instantiationService . stub ( ILoggerService , disposables . add ( new TestLoggerService ( TestEnvironmentService . logsHome ) ) ) ;
309
- instantiationService . stub ( ILogService , new NullLogService ( ) ) ;
310
310
const editorGroupService = new TestEditorGroupsService ( [ new TestEditorGroupView ( 0 ) ] ) ;
311
311
instantiationService . stub ( IEditorGroupsService , editorGroupService ) ;
312
312
instantiationService . stub ( ILabelService , < ILabelService > disposables . add ( instantiationService . createInstance ( LabelService ) ) ) ;
0 commit comments