test(ipuaro): improve test coverage to 92% branches

- Raise branch coverage threshold from 90% to 92%
- Add 21 new edge-case tests across modules
- Watchdog: add tests for error handling, flushAll, polling mode
- OllamaClient: add tests for AbortError and model not found
- GetLinesTool: add tests for filesystem fallback, undefined params
- GetClassTool: add tests for undefined extends, error handling
- GetFunctionTool: add tests for error handling, undefined returnType

Coverage results:
- Lines: 97.83% (threshold 95%)
- Branches: 92.01% (threshold 92%)
- Functions: 99.16% (threshold 95%)
- Statements: 97.83% (threshold 95%)
- Total tests: 1441 (all passing)
This commit is contained in:
imfozilbek
2025-12-01 17:39:58 +05:00
parent 0dff0e87d0
commit c843b780a8
7 changed files with 364 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ export default defineConfig({
thresholds: {
lines: 95,
functions: 95,
branches: 90,
branches: 92,
statements: 95,
},
},