Slim NotebookEditorInput and model service for notebookEditorModel.

This commit is contained in:
rebornix
2020-05-01 15:36:41 -07:00
parent 20873e2e7d
commit 715b135887
17 changed files with 430 additions and 200 deletions

View File

@@ -112,6 +112,7 @@ suite('notebook workflow', () => {
// ---- ---- //
await vscode.commands.executeCommand('workbench.action.files.save');
await vscode.commands.executeCommand('workbench.action.closeActiveEditor');
});
@@ -161,6 +162,7 @@ suite('notebook workflow', () => {
await vscode.commands.executeCommand('notebook.cell.execute');
assert.equal(cell.outputs.length, 1, 'should execute'); // runnable, it worked
await vscode.commands.executeCommand('workbench.action.files.save');
await vscode.commands.executeCommand('workbench.action.closeActiveEditor');
});
@@ -183,6 +185,7 @@ suite('notebook workflow', () => {
await vscode.commands.executeCommand('notebook.execute');
assert.equal(cell.outputs.length, 1, 'should execute'); // runnable, it worked
await vscode.commands.executeCommand('workbench.action.files.save');
await vscode.commands.executeCommand('workbench.action.closeActiveEditor');
});
});