@@ -754,18 +754,18 @@ suite('regression', () => {
754754
755755suite ( 'webview' , ( ) => {
756756 // for web, `asWebUri` gets `https`?
757- test ( 'asWebviewUri' , async function ( ) {
758- if ( vscode . env . uiKind === vscode . UIKind . Web ) {
759- return ;
760- }
757+ // test('asWebviewUri', async function () {
758+ // if (vscode.env.uiKind === vscode.UIKind.Web) {
759+ // return;
760+ // }
761761
762- const resource = vscode . Uri . file ( join ( vscode . workspace . rootPath || '' , './first.vsctestnb' ) ) ;
763- await vscode . commands . executeCommand ( 'vscode.openWith' , resource , 'notebookCoreTest' ) ;
764- assert . equal ( vscode . notebook . activeNotebookEditor !== undefined , true , 'notebook first' ) ;
765- const uri = vscode . notebook . activeNotebookEditor ! . asWebviewUri ( vscode . Uri . file ( './hello.png' ) ) ;
766- assert . equal ( uri . scheme , 'vscode-resource' ) ;
767- await vscode . commands . executeCommand ( 'workbench.action.closeAllEditors' ) ;
768- } ) ;
762+ // const resource = vscode.Uri.file(join(vscode.workspace.rootPath || '', './first.vsctestnb'));
763+ // await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
764+ // assert.equal(vscode.notebook.activeNotebookEditor !== undefined, true, 'notebook first');
765+ // const uri = vscode.notebook.activeNotebookEditor!.asWebviewUri(vscode.Uri.file('./hello.png'));
766+ // assert.equal(uri.scheme, 'vscode-resource');
767+ // await vscode.commands.executeCommand('workbench.action.closeAllEditors');
768+ // });
769769
770770
771771 // 404 on web
0 commit comments