mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 21:52:24 +00:00
Wait for all editors to close before continuing tests
This commit is contained in:
parent
0136935c52
commit
b3ff3e4375
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ suite('Webview tests', () => {
|
|||
return disposable;
|
||||
}
|
||||
|
||||
teardown(() => {
|
||||
closeAllEditors();
|
||||
teardown(async () => {
|
||||
await closeAllEditors();
|
||||
|
||||
while (disposables.length) {
|
||||
let item = disposables.pop();
|
||||
|
|
Loading…
Reference in a new issue