Commit 3dbc640
Add tests for kg, nlp, web-search, and ask modules
Cover the DQL/knowledge-graph code paths (dql params, raw output, parallel
fan-out, ontology refresh) plus the previously untested option branches in
entities(), webSearch(), and the ask() streaming/error/text-fallback paths.
Raises overall coverage from ~76% to ~83% statements. Adds @vitest/coverage-v8
and a test:coverage script.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent a473aa3 commit 3dbc640
6 files changed
Lines changed: 732 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments