mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
api tests: cleanup after test run
This commit is contained in:
@@ -37,4 +37,10 @@ export function deleteFile(file: vscode.Uri): Thenable<boolean> {
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
export function cleanUp(): Thenable<boolean> {
|
||||
return vscode.commands.executeCommand('workbench.action.closeAllEditors').then(() => {
|
||||
return vscode.commands.executeCommand('workbench.files.action.closeAllFiles');
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user