tests - avoid tests that bring up webview for now (#88415)

This commit is contained in:
Benjamin Pasero
2020-01-24 07:20:53 +01:00
parent f3dbcea32a
commit cd2e132fbc

View File

@@ -105,7 +105,7 @@ suite('commands namespace tests', () => {
});
test('api-command: vscode.open', function () {
let uri = Uri.parse(workspace.workspaceFolders![0].uri.toString() + '/image.png');
let uri = Uri.parse(workspace.workspaceFolders![0].uri.toString() + '/far.js');
let a = commands.executeCommand('vscode.open', uri).then(() => assert.ok(true), () => assert.ok(false));
let b = commands.executeCommand('vscode.open', uri, ViewColumn.Two).then(() => assert.ok(true), () => assert.ok(false));
let c = commands.executeCommand('vscode.open').then(() => assert.ok(false), () => assert.ok(true));