提交 26f475c8 编写于 作者: A Alexandru Dima

Fix compilation errors

上级 708a3ccd
......@@ -389,6 +389,9 @@ suite('ExtHostDiagnostics', () => {
assertRegistered(): void {
}
drain() {
return undefined!;
}
}, new NullLogService());
let collection1 = diags.createDiagnosticCollection(nullExtensionDescription.identifier, 'foo');
......@@ -438,6 +441,9 @@ suite('ExtHostDiagnostics', () => {
assertRegistered(): void {
}
drain() {
return undefined!;
}
}, new NullLogService());
......
......@@ -15,7 +15,8 @@ suite('ExtHostFileSystemEventService', () => {
const protocol: IMainContext = {
getProxy: () => { return undefined!; },
set: undefined!,
assertRegistered: undefined!
assertRegistered: undefined!,
drain: undefined!
};
const watcher1 = new ExtHostFileSystemEventService(protocol, new NullLogService(), undefined!).createFileSystemWatcher('**/somethingInteresting', false, false, false);
......
......@@ -32,6 +32,7 @@ suite('MainThreadDiagnostics', function () {
$acceptMarkersChange() { }
};
}
drain(): any { return null; }
},
markerService,
new class extends mock<IUriIdentityService>() {
......
......@@ -66,6 +66,7 @@ suite('MainThreadHostTreeView', function () {
getProxy(): any {
return extHostTreeViewsShape;
}
drain(): any { return null; }
}, new TestViewsService(), new TestNotificationService(), testExtensionService, new NullLogService());
mainThreadTreeViews.$registerTreeViewDataProvider(testTreeViewId, { showCollapseAll: false, canSelectMany: false });
await testExtensionService.whenInstalledExtensionsRegistered();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册