mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
tests - avoid tests that bring up webview for now (#88415)
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user