File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -100,14 +100,15 @@ suite("Multi root workspace tests", () => {
100
100
) ;
101
101
} ) ;
102
102
103
- // TODO throw or return null
104
- // test("requests from non workspace file: docs go to first workspace client", async () => {
105
- // const fileUri = vscode.Uri.file(path.join(fixturesPath, "elixir_file.ex"));
106
- // assert.equal(
107
- // languageClientManager.getClientByUri(fileUri),
108
- // languageClientManager.clients.get(vscode.workspace.workspaceFolders![0].uri.toString())
109
- // );
110
- // });
103
+ test ( "requests from non workspace file: docs go to first workspace client" , async ( ) => {
104
+ const fileUri = vscode . Uri . file ( path . join ( fixturesPath , "elixir_file.ex" ) ) ;
105
+ assert . equal (
106
+ extension . exports . languageClientManager . getClientByUri ( fileUri ) ,
107
+ extension . exports . languageClientManager . clients . get (
108
+ vscode . workspace . workspaceFolders ?. [ 0 ] . uri . toString ( ) ?? "" ,
109
+ ) ,
110
+ ) ;
111
+ } ) ;
111
112
112
113
test ( "extension starts second client on file open from different outermost folder" , async ( ) => {
113
114
const fileUri = vscode . Uri . file (
You can’t perform that action at this time.
0 commit comments