DefaultTreeSection - EcksDy/vscode-extension-tester GitHub Wiki
The 'default' tree section, as used in the explorer view. All The behaviour is defined by the general ViewSection class.
Lookup
import { SideBarView, DefaultTreeSection } from 'vscode-extension-tester';
...
// Type is inferred automatically, the type cast here is used to be more explicit
const section = await new SideBarView().getContent().getSection('workspace') as DefaultTreeSection;