mirror of
https://github.com/microsoft/vscode.git
synced 2026-03-02 23:09:59 +00:00
fix compile issues...
This commit is contained in:
@@ -69,7 +69,7 @@ export function activate(context: vscode.ExtensionContext): any {
|
||||
const task = controller.createNotebookCellExecution(cell);
|
||||
task.start();
|
||||
task.replaceOutput([new vscode.NotebookCellOutput([
|
||||
vscode.NotebookCellOutputItem.text('test output', 'text/html', undefined)
|
||||
vscode.NotebookCellOutputItem.text('test output', 'text/html')
|
||||
])]);
|
||||
task.end({ success: true });
|
||||
}
|
||||
|
||||
@@ -90,7 +90,6 @@ suite('ExtHostTypeConverter', function () {
|
||||
const dto = NotebookCellOutputItem.from(item);
|
||||
|
||||
assert.strictEqual(dto.mime, 'foo/bar');
|
||||
assert.strictEqual(dto.metadata, undefined);
|
||||
assert.deepStrictEqual(dto.valueBytes, Array.from(new TextEncoder().encode('Hello')));
|
||||
|
||||
const item2 = NotebookCellOutputItem.to(dto);
|
||||
|
||||
Reference in New Issue
Block a user