Removing preview.html command

Fixes #62630
This commit is contained in:
Matt Bierner
2019-02-26 17:14:14 -08:00
parent 491dd0feb8
commit 9061cad570
8 changed files with 2 additions and 435 deletions

View File

@@ -74,23 +74,6 @@ suite('commands namespace tests', () => {
});
test('api-command: vscode.previewHtml', async function () {
let registration = workspace.registerTextDocumentContentProvider('speciale', {
provideTextDocumentContent(uri) {
return `content of URI <b>${uri.toString()}</b>`;
}
});
let virtualDocumentUri = Uri.parse('speciale://authority/path');
let title = 'A title';
const success = await commands.executeCommand('vscode.previewHtml', virtualDocumentUri, ViewColumn.Three, title);
assert.ok(success);
registration.dispose();
});
test('api-command: vscode.diff', function () {
let registration = workspace.registerTextDocumentContentProvider('sc', {