diff --git a/packages/vscode-extension-common-test-helpers/src/VSCodeTestHelper.ts b/packages/vscode-extension-common-test-helpers/src/VSCodeTestHelper.ts index b0fa15dd0f6..0b03ef54741 100644 --- a/packages/vscode-extension-common-test-helpers/src/VSCodeTestHelper.ts +++ b/packages/vscode-extension-common-test-helpers/src/VSCodeTestHelper.ts @@ -122,9 +122,12 @@ export class VSCodeTestHelper { } console.log("DEBUG VS CODE -> SECTION VIEW"); try { - this.workspaceSectionView = await this.sidebarView.getContent().getSection(folderName); + const content = this.sidebarView.getContent(); + console.log(`DEBUG VS CODE -> CONTENT: ${content}, FOLDERNAME: ${folderName}`); + this.workspaceSectionView = await content.getSection(folderName); } catch (error) { console.log("DEBUG VS CODE -> SECTION VIEW ERROR", error); + throw error; } console.log("DEBUG VS CODE -> RETURNING");