()
| 53 | } |
| 54 | |
| 55 | async function bootReal(): Promise<RunningServer> { |
| 56 | const r = await startServer({ |
| 57 | host: '127.0.0.1', |
| 58 | port: 0, |
| 59 | lockPath, |
| 60 | logger: pino({ level: 'silent' }), |
| 61 | coreProcessOptions: { homeDir: bridgeHome }, |
| 62 | }); |
| 63 | running.push(r); |
| 64 | return r; |
| 65 | } |
| 66 | |
| 67 | function wsUrl(http: string): string { |
| 68 | return http.replace(/^http:\/\//, 'ws://') + '/api/v1/ws'; |
no test coverage detected