Fix scheme for webview test
This commit is contained in:
parent
f91775a693
commit
aa80303978
|
@ -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');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue