@@ -141,6 +141,8 @@ export function workbenchInstantiationService(overrides?: { textFileService?: (i
141141 instantiationService . stub ( IHistoryService , new TestHistoryService ( ) ) ;
142142 instantiationService . stub ( ITextResourcePropertiesService , new TestTextResourcePropertiesService ( configService ) ) ;
143143 instantiationService . stub ( IUndoRedoService , instantiationService . createInstance ( UndoRedoService ) ) ;
144+ const themeService = new TestThemeService ( ) ;
145+ instantiationService . stub ( IThemeService , themeService ) ;
144146 instantiationService . stub ( IModelService , instantiationService . createInstance ( ModelServiceImpl ) ) ;
145147 instantiationService . stub ( IFileService , new TestFileService ( ) ) ;
146148 instantiationService . stub ( IBackupFileService , new TestBackupFileService ( ) ) ;
@@ -156,8 +158,6 @@ export function workbenchInstantiationService(overrides?: { textFileService?: (i
156158 instantiationService . stub ( ITextFileService , overrides ?. textFileService ? overrides . textFileService ( instantiationService ) : < ITextFileService > instantiationService . createInstance ( TestTextFileService ) ) ;
157159 instantiationService . stub ( IHostService , < IHostService > instantiationService . createInstance ( TestHostService ) ) ;
158160 instantiationService . stub ( ITextModelService , < ITextModelService > instantiationService . createInstance ( TextModelResolverService ) ) ;
159- const themeService = new TestThemeService ( ) ;
160- instantiationService . stub ( IThemeService , themeService ) ;
161161 instantiationService . stub ( ILogService , new NullLogService ( ) ) ;
162162 const editorGroupService = new TestEditorGroupsService ( [ new TestEditorGroupView ( 0 ) ] ) ;
163163 instantiationService . stub ( IEditorGroupsService , editorGroupService ) ;
0 commit comments