(options: Partial<ServerOptions>)
| 59 | }); |
| 60 | |
| 61 | async function initServer(options: Partial<ServerOptions>) { |
| 62 | client = createConnection({ |
| 63 | ...options, |
| 64 | }); |
| 65 | // If debugging, set to |
| 66 | // - lsp.Trace.Messages to inspect request/response/notification, or |
| 67 | // - lsp.Trace.Verbose to inspect payload |
| 68 | client.trace(lsp.Trace.Off, createTracer()); |
| 69 | client.listen(); |
| 70 | await initializeServer(client); |
| 71 | } |
| 72 | |
| 73 | it('should handle hover on inline template', async () => { |
| 74 | openTextDocument(client, APP_COMPONENT); |
no test coverage detected
searching dependent graphs…