Increase test coverage across multiple modules (91.2% statements, 82.85% branches, 82.35% functions, 93.1% lines)

Update abort controller handling in OllamaClient to properly clean up previous controllers

Remove unused imports and constants: MODEL_NAME_REGEX, MouseEvent, DEFAULT_SETTINGS, convertMarkdownToHtml

Refactor event handler naming to be more consistent
```
This commit is contained in:
2026-05-06 22:30:29 +02:00
parent 649061a747
commit 579e60f5d5
21 changed files with 2392 additions and 2427 deletions
-4
View File
@@ -199,7 +199,3 @@ export function isValidHttpUrl(url: string): boolean {
}
// ==================== Markdown Utilities ====================
export function convertMarkdownToHtml(markdown: string): string {
return markdown.replace(/\n/g, '<br>').replace(/# (.+)/g, '<h1>$1</h1>');
}