share undo stack between text models in a notebook. the undo stack is not shared with notebook itself yet due to #98750.

This commit is contained in:
rebornix
2020-05-28 10:28:54 -07:00
parent a42fc9031d
commit 37a3496bb0
2 changed files with 11 additions and 3 deletions

View File

@@ -480,7 +480,7 @@ suite('notebook dirty state', () => {
});
suite('notebook undo redo', () => {
test.skip('notebook open', async function () {
test('notebook open', async function () {
const resource = vscode.Uri.parse(join(vscode.workspace.rootPath || '', './first.vsctestnb'));
await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
assert.equal(vscode.notebook.activeNotebookEditor !== undefined, true, 'notebook first');