Skip to content

Commit 3d4fe87

Browse files
committed
Fix failing test
1 parent 2c8f365 commit 3d4fe87

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/virtual/editor.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import {
99
import CodeMirror = require('codemirror');
1010

1111
class VirtualEditorImplementation extends VirtualEditor {
12+
private cm_editor: CodeMirror.Editor;
13+
1214
get_cm_editor(position: IRootPosition): CodeMirror.Editor {
1315
return undefined;
1416
}
@@ -30,6 +32,10 @@ class VirtualEditorImplementation extends VirtualEditor {
3032
): void {}
3133

3234
protected perform_documents_update(): void {}
35+
36+
forEveryBlockEditor(callback: (cm_editor: CodeMirror.Editor) => void): void {
37+
callback(this.cm_editor);
38+
}
3339
}
3440

3541
describe('VirtualEditor', () => {

0 commit comments

Comments
 (0)