Make tree dnd handleDrop optional

This commit is contained in:
Alex Ross
2022-02-16 09:18:38 +01:00
parent f08ebcee85
commit e5f7dff1a7
5 changed files with 11 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ suite('MainThreadHostTreeView', function () {
}
drain(): any { return null; }
}, new TestViewsService(), new TestNotificationService(), testExtensionService, new NullLogService());
mainThreadTreeViews.$registerTreeViewDataProvider(testTreeViewId, { showCollapseAll: false, canSelectMany: false, dropMimeTypes: [], dragMimeTypes: [], hasHandleDrag: false });
mainThreadTreeViews.$registerTreeViewDataProvider(testTreeViewId, { showCollapseAll: false, canSelectMany: false, dropMimeTypes: [], dragMimeTypes: [], hasHandleDrag: false, hasHandleDrop: false });
await testExtensionService.whenInstalledExtensionsRegistered();
});