DefaultTreeSection

The ‘default’ tree section, as used in the explorer view. All The behavior is defined by the general ViewSection class.
Lookup
Section titled “Lookup”import { SideBarView, DefaultTreeSection } from 'vscode-extension-tester';...// Type is inferred automatically, the type cast here is used to be more explicitconst section = await new SideBarView().getContent().getSection('workspace') as DefaultTreeSection;