Skip to content

Commit 26f475c

Browse files
committed
Fix compilation errors
1 parent 708a3cc commit 26f475c

4 files changed

Lines changed: 10 additions & 1 deletion

File tree

src/vs/workbench/test/browser/api/extHostDiagnostics.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,9 @@ suite('ExtHostDiagnostics', () => {
389389
assertRegistered(): void {
390390

391391
}
392+
drain() {
393+
return undefined!;
394+
}
392395
}, new NullLogService());
393396

394397
let collection1 = diags.createDiagnosticCollection(nullExtensionDescription.identifier, 'foo');
@@ -438,6 +441,9 @@ suite('ExtHostDiagnostics', () => {
438441
assertRegistered(): void {
439442

440443
}
444+
drain() {
445+
return undefined!;
446+
}
441447
}, new NullLogService());
442448

443449

src/vs/workbench/test/browser/api/extHostFileSystemEventService.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ suite('ExtHostFileSystemEventService', () => {
1515
const protocol: IMainContext = {
1616
getProxy: () => { return undefined!; },
1717
set: undefined!,
18-
assertRegistered: undefined!
18+
assertRegistered: undefined!,
19+
drain: undefined!
1920
};
2021

2122
const watcher1 = new ExtHostFileSystemEventService(protocol, new NullLogService(), undefined!).createFileSystemWatcher('**/somethingInteresting', false, false, false);

src/vs/workbench/test/browser/api/mainThreadDiagnostics.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ suite('MainThreadDiagnostics', function () {
3232
$acceptMarkersChange() { }
3333
};
3434
}
35+
drain(): any { return null; }
3536
},
3637
markerService,
3738
new class extends mock<IUriIdentityService>() {

src/vs/workbench/test/browser/api/mainThreadTreeViews.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ suite('MainThreadHostTreeView', function () {
6666
getProxy(): any {
6767
return extHostTreeViewsShape;
6868
}
69+
drain(): any { return null; }
6970
}, new TestViewsService(), new TestNotificationService(), testExtensionService, new NullLogService());
7071
mainThreadTreeViews.$registerTreeViewDataProvider(testTreeViewId, { showCollapseAll: false, canSelectMany: false });
7172
await testExtensionService.whenInstalledExtensionsRegistered();

0 commit comments

Comments
 (0)