Fix scheme for webview test

This commit is contained in:
Matt Bierner 2020-06-01 16:13:37 -07:00
parent f91775a693
commit aa80303978

View file

@ -746,7 +746,7 @@ suite('webview', () => {
await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
assert.equal(vscode.notebook.activeNotebookEditor !== undefined, true, 'notebook first');
const uri = vscode.notebook.activeNotebookEditor!.asWebviewUri(vscode.Uri.file('./hello.png'));
assert.equal(uri.scheme, 'vscode-webview-resource');
assert.equal(uri.scheme, 'vscode-resource');
await vscode.commands.executeCommand('workbench.action.closeAllEditors');
});