Re-enable notebook editor unit tests (#13328)

* wip

* Re-enable notebook editor tests

* PR Feedback
This commit is contained in:
Chris LaFreniere
2020-11-10 17:04:30 -08:00
committed by GitHub
parent b83da2dfa8
commit 8c6a966bb9
3 changed files with 15 additions and 8 deletions

View File

@@ -368,7 +368,7 @@ export class NotebookEditor extends EditorPane implements IFindNotebookControlle
currentMatch: false,
loop: true
};
this._notebookModel.cells.forEach(cell => {
this._notebookModel.cells?.forEach(cell => {
this._register(cell.onCellModeChanged((state) => {
this._onFindStateChange(changeEvent).catch(onUnexpectedError);
}));