Skip to content

Commit 08796d7

Browse files
committed
Set vscode testing window back
1 parent 03213d8 commit 08796d7

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

packages/core/src/test/shared/vscode/message.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -370,13 +370,6 @@ export class TestFileSystemDialog {
370370
dialog.onDidAcceptItem((item) => resolve(item instanceof vscode.Uri ? [item] : item))
371371
dialog.show()
372372
callback?.(dialog)
373-
374-
// Auto-close dialog in test environments to prevent hanging
375-
setTimeout(() => {
376-
if (dialog.visible) {
377-
dialog.close()
378-
}
379-
}, 0)
380373
})
381374
}
382375
}
@@ -392,12 +385,6 @@ export class TestFileSystemDialog {
392385
dialog.onDidAcceptItem((item) => resolve(Array.isArray(item) ? item[0] : item))
393386
dialog.show()
394387
callback?.(dialog)
395-
396-
setTimeout(() => {
397-
if (dialog.visible) {
398-
dialog.close()
399-
}
400-
}, 0)
401388
})
402389
}
403390
}

0 commit comments

Comments
 (0)