(address: string)
| 119 | const opened = new Set<ServerHarness>(); |
| 120 | |
| 121 | function deriveHttpPort(address: string): string { |
| 122 | const port = new URL(address).port; |
| 123 | if (port === '') { |
| 124 | throw new Error(`cannot derive port from server address: ${address}`); |
| 125 | } |
| 126 | return port; |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * Boot an isolated `startServer` for e2e use. |