Add dragMimeTypes to tree dnd

This commit is contained in:
Alex Ross
2022-02-02 13:44:47 +01:00
parent 8e583c870e
commit 7047c7590e
7 changed files with 25 additions and 16 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, dragAndDropMimeTypes: [], hasHandleDrag: false });
mainThreadTreeViews.$registerTreeViewDataProvider(testTreeViewId, { showCollapseAll: false, canSelectMany: false, dropMimeTypes: [], dragMimeTypes: [], hasHandleDrag: false });
await testExtensionService.whenInstalledExtensionsRegistered();
});