tests - shutdown gracefully to enable webview tests (#90508)

* tests - shutdown gracefully to enable webview tests

* use window.destroy() instead

* more tweaks

* better kill()

* proper fix
This commit is contained in:
Benjamin Pasero
2020-02-12 13:06:35 +01:00
committed by GitHub
parent 05b4458516
commit 3388bf640e

View File

@@ -13,8 +13,7 @@ const webviewId = 'myWebview';
const testDocument = join(vscode.workspace.rootPath || '', './bower.json');
// TODO: Re-enable after https://github.com/microsoft/vscode/issues/88415
suite.skip('Webview tests', () => {
suite('Webview tests', () => {
const disposables: vscode.Disposable[] = [];
function _register<T extends vscode.Disposable>(disposable: T) {