File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
packages/jupyterlab-lsp/src/adapters/codemirror Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,8 @@ export abstract class FeatureTestEnvironment
129
129
130
130
export class FileEditorFeatureTestEnvironment extends FeatureTestEnvironment {
131
131
ce_editor : CodeMirrorEditor ;
132
+ connection_manager : DocumentConnectionManager ;
133
+ language_server_manager : LanguageServerManager ;
132
134
133
135
constructor (
134
136
language = ( ) => 'python' ,
@@ -144,17 +146,11 @@ export class FileEditorFeatureTestEnvironment extends FeatureTestEnvironment {
144
146
model
145
147
} ) ;
146
148
147
- const LANGSERVER_MANAGER = new MockLanguageServerManager ( { } ) ;
148
- const CONNECTION_MANAGER = new DocumentConnectionManager ( {
149
- language_server_manager : LANGSERVER_MANAGER
149
+ this . language_server_manager = new MockLanguageServerManager ( { } ) ;
150
+ this . connection_manager = new DocumentConnectionManager ( {
151
+ language_server_manager : this . language_server_manager
150
152
} ) ;
151
153
152
- const DEBUG = false ;
153
-
154
- if ( DEBUG ) {
155
- console . log ( CONNECTION_MANAGER ) ;
156
- }
157
-
158
154
this . init ( ) ;
159
155
}
160
156
You can’t perform that action at this time.
0 commit comments