提交 186c5879 编写于 作者: J Johannes Rieken

Revert "maybe maybe for https://github.com/microsoft/vscode/issues/104485"

This reverts commit af3c1cfd.
上级 2e2f69d9
...@@ -35,15 +35,12 @@ import { MockKeybindingService } from 'vs/platform/keybinding/test/common/mockKe ...@@ -35,15 +35,12 @@ import { MockKeybindingService } from 'vs/platform/keybinding/test/common/mockKe
import { createTextModel } from 'vs/editor/test/common/editorTestUtils'; import { createTextModel } from 'vs/editor/test/common/editorTestUtils';
import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService'; import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService';
import { mock } from 'vs/base/test/common/mock'; import { mock } from 'vs/base/test/common/mock';
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
import { TestConfigurationService } from 'vs/platform/configuration/test/common/testConfigurationService';
function createMockEditor(model: TextModel): ITestCodeEditor { function createMockEditor(model: TextModel): ITestCodeEditor {
let editor = createTestCodeEditor({ let editor = createTestCodeEditor({
model: model, model: model,
serviceCollection: new ServiceCollection( serviceCollection: new ServiceCollection(
[IConfigurationService, TestConfigurationService],
[ITelemetryService, NullTelemetryService], [ITelemetryService, NullTelemetryService],
[IStorageService, new InMemoryStorageService()], [IStorageService, new InMemoryStorageService()],
[IKeybindingService, new MockKeybindingService()], [IKeybindingService, new MockKeybindingService()],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册