diff --git a/src/vs/workbench/contrib/comments/test/browser/commentsView.test.ts b/src/vs/workbench/contrib/comments/test/browser/commentsView.test.ts index cd5f0ddf60c..84e77afe298 100644 --- a/src/vs/workbench/contrib/comments/test/browser/commentsView.test.ts +++ b/src/vs/workbench/contrib/comments/test/browser/commentsView.test.ts @@ -19,6 +19,8 @@ import { DisposableStore } from 'vs/base/common/lifecycle'; import { ensureNoDisposablesAreLeakedInTestSuite } from 'vs/base/test/common/utils'; import { CancellationToken } from 'vs/base/common/cancellation'; import { URI, UriComponents } from 'vs/base/common/uri'; +import { IHoverService } from 'vs/platform/hover/browser/hover'; +import { NullHoverService } from 'vs/platform/hover/test/browser/nullHoverService'; class TestCommentThread implements CommentThread { isDocumentCommentThread(): this is CommentThread { @@ -118,6 +120,7 @@ suite('Comments View', function () { disposables = new DisposableStore(); instantiationService = workbenchInstantiationService({}, disposables); instantiationService.stub(IConfigurationService, new TestConfigurationService()); + instantiationService.stub(IHoverService, NullHoverService); instantiationService.stub(IContextViewService, {}); instantiationService.stub(IViewDescriptorService, new TestViewDescriptorService()); commentService = instantiationService.createInstance(CommentService); diff --git a/src/vs/workbench/contrib/inlineChat/test/browser/inlineChatController.test.ts b/src/vs/workbench/contrib/inlineChat/test/browser/inlineChatController.test.ts index b1a8af6a9de..f5576bacb7f 100644 --- a/src/vs/workbench/contrib/inlineChat/test/browser/inlineChatController.test.ts +++ b/src/vs/workbench/contrib/inlineChat/test/browser/inlineChatController.test.ts @@ -58,6 +58,8 @@ import { IViewsService } from 'vs/workbench/services/views/common/viewsService'; import { ChatSlashCommandService, IChatSlashCommandService } from 'vs/workbench/contrib/chat/common/chatSlashCommands'; import { ChatWidgetService } from 'vs/workbench/contrib/chat/browser/chatWidget'; import { ChatWidgetHistoryService, IChatWidgetHistoryService } from 'vs/workbench/contrib/chat/common/chatWidgetHistoryService'; +import { IHoverService } from 'vs/platform/hover/browser/hover'; +import { NullHoverService } from 'vs/platform/hover/test/browser/nullHoverService'; suite('InteractiveChatController', function () { class TestController extends InlineChatController { @@ -121,6 +123,7 @@ suite('InteractiveChatController', function () { [IChatVariablesService, new MockChatVariablesService()], [ILogService, new NullLogService()], [ITelemetryService, NullTelemetryService], + [IHoverService, NullHoverService], [IExtensionService, new TestExtensionService()], [IContextKeyService, new MockContextKeyService()], [IViewsService, new TestExtensionService()],