mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-27 13:40:25 +00:00
Wait for all editors to close before continuing tests
This commit is contained in:
@@ -21,8 +21,8 @@ suite('Webview tests', () => {
|
||||
return disposable;
|
||||
}
|
||||
|
||||
teardown(() => {
|
||||
closeAllEditors();
|
||||
teardown(async () => {
|
||||
await closeAllEditors();
|
||||
|
||||
while (disposables.length) {
|
||||
let item = disposables.pop();
|
||||
|
||||
Reference in New Issue
Block a user