Wait for all editors to close before continuing tests

This commit is contained in:
Matt Bierner 2018-10-05 11:51:54 -07:00
parent 0136935c52
commit b3ff3e4375

View file

@ -21,8 +21,8 @@ suite('Webview tests', () => {
return disposable;
}
teardown(() => {
closeAllEditors();
teardown(async () => {
await closeAllEditors();
while (disposables.length) {
let item = disposables.pop();