Skip to content

Commit 5a7b7be

Browse files
authored
throw error (microsoft#199653)
1 parent 3cd0a63 commit 5a7b7be

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/automation/src/code.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,7 @@ export class Code {
251251
}
252252

253253
async whenWorkbenchRestored(): Promise<void> {
254-
try {
255-
await this.poll(() => this.driver.whenWorkbenchRestored(), () => true, `when workbench restored`);
256-
} catch (error) {
257-
// TODO: @sandy081 Remove this when 1.84.0 is out
258-
// whenWorkbenchRestored was not implemented in the driver before 1.84.0
259-
this.logger.log('whenWorkbenchRestored() timed out');
260-
}
254+
await this.poll(() => this.driver.whenWorkbenchRestored(), () => true, `when workbench restored`);
261255
}
262256

263257
getLocaleInfo(): Promise<ILocaleInfo> {

0 commit comments

Comments
 (0)