(apiBaseUrl: string | undefined)
| 62 | }; |
| 63 | |
| 64 | const canParseApiBaseUrl = (apiBaseUrl: string | undefined): boolean => { |
| 65 | if (apiBaseUrl === undefined) return true; |
| 66 | const trimmed = apiBaseUrl.trim(); |
| 67 | if (!trimmed) return true; |
| 68 | return hasHttpScheme(trimmed) && URL.canParse(trimmed); |
| 69 | }; |
| 70 | |
| 71 | const normalizeConnectionOption = ( |
| 72 | input: ExecutorServerConnectionInput, |
no test coverage detected