(id: string, text: string)
| 148 | // ============================================================================ |
| 149 | |
| 150 | function setElementText(id: string, text: string): void { |
| 151 | const el = document.getElementById(id); |
| 152 | if (el) el.textContent = text; |
| 153 | } |
| 154 | |
| 155 | function showStatus(message: string, type: 'success' | 'warning' | 'error' = 'success'): void { |
| 156 | const el = document.getElementById('statusMessage'); |
no outgoing calls
no test coverage detected