(domain: string)
| 161 | } |
| 162 | |
| 163 | export function normalizeDomain(domain: string): string { |
| 164 | return `https://${domain |
| 165 | .trim() |
| 166 | .replace(/^https?:\/\//i, '') |
| 167 | .replace(/\/+$/, '')}`.toLowerCase() |
| 168 | } |
| 169 | |
| 170 | export async function getJiraCloudId( |
| 171 | domain: string, |
no test coverage detected