Skip to content

Commit b33b450

Browse files
author
Siddharth Saladi
committed
cleaner comments
1 parent a738670 commit b33b450

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/test/utils/testUtils.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,7 @@ export async function getDashboardSection(sidebar: any): Promise<any> {
245245
const wait = getWaitHelper();
246246
return await wait.forCondition(async () => {
247247
try {
248-
// Re-create SideBarView on every iteration — on mac Previous (cold
249-
// VS Code install) the sidebar object goes stale during workspace
250-
// transitions and getSections() returns dead nodes on every call.
248+
// Re-create SideBarView on every iteration — on mac Previous the sidebar object goes stale during workspace transitions and getSections() returns dead nodes on every call.
251249
const { SideBarView } = require('vscode-extension-tester');
252250
const freshSidebar = new SideBarView();
253251
const contentPart = freshSidebar.getContent();
@@ -270,7 +268,7 @@ export async function getDashboardSection(sidebar: any): Promise<any> {
270268
}, {
271269
timeout: 120000,
272270
pollInterval: 3000,
273-
message: 'Liberty Tools section not found in sidebar within 120 seconds'
271+
message: 'Liberty Tools section was not found in sidebar within 120 seconds'
274272
});
275273
}
276274

0 commit comments

Comments
 (0)