(environment: MothershipEnvironment)
| 31 | } |
| 32 | |
| 33 | function getConfiguredEnvironmentUrl(environment: MothershipEnvironment): string | null { |
| 34 | if (environment === 'default') return null |
| 35 | return normalizeUrl(ENVIRONMENT_URLS[environment]) |
| 36 | } |
| 37 | |
| 38 | function getDefaultMothershipBaseURL(fallbackUrl?: string | null): string { |
| 39 | const fallback = typeof fallbackUrl === 'string' ? fallbackUrl : undefined |
no test coverage detected