mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Fix updates failing during output of a notebook
This commit is contained in:
@@ -24,6 +24,7 @@ import { generateUuid } from 'vs/base/common/uuid';
|
||||
import { Event } from 'vs/base/common/event';
|
||||
import { ExtHostNotebookDocuments } from 'vs/workbench/api/common/extHostNotebookDocuments';
|
||||
import { SerializableObjectWithBuffers } from 'vs/workbench/services/extensions/common/proxyIdentifier';
|
||||
import { VSBuffer } from 'vs/base/common/buffer';
|
||||
|
||||
suite('NotebookCell#Document', function () {
|
||||
|
||||
@@ -435,7 +436,15 @@ suite('NotebookCell#Document', function () {
|
||||
}, {
|
||||
kind: NotebookCellsChangeType.Output,
|
||||
index: 1,
|
||||
outputs: []
|
||||
outputs: [
|
||||
{
|
||||
items: [{
|
||||
valueBytes: VSBuffer.fromByteArray([0, 2, 3]),
|
||||
mime: 'text/plain'
|
||||
}],
|
||||
outputId: '1'
|
||||
}
|
||||
]
|
||||
}]
|
||||
}), false, undefined);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user