use vscode.notebooks not vscode.notebook

This commit is contained in:
Johannes Rieken
2021-06-02 14:58:51 +02:00
parent a3337d01bb
commit b5bdc48d55
2 changed files with 30 additions and 30 deletions

View File

@@ -255,7 +255,7 @@ suite('Notebook Document', function () {
value: 'new_code'
}]);
const event = utils.asPromise<vscode.NotebookCellsChangeEvent>(vscode.notebook.onDidChangeNotebookCells);
const event = utils.asPromise<vscode.NotebookCellsChangeEvent>(vscode.notebooks.onDidChangeNotebookCells);
const success = await vscode.workspace.applyEdit(edit);
assert.strictEqual(success, true);