Skip to content

Commit b1276e4

Browse files
committed
Add comprehensive tests for diagnostics tools, remove coverage exclusion
Covers all 13 debug tool handlers including set_breakpoints (path mapping + warnings), get_variables (scope filtering, object_path, truncation), wait_for_stop (immediate halt, timeout, waiter resolution), capture_at_breakpoint (full orchestration, trigger_url, eval errors, timeout), start_session (real fixture cartridge + stubbed manager), and all step_* variants. Registry tests cover idle cleanup and disconnect error swallowing. Coverage is now 99.81% statements/lines, 94.65% branches, 98.94% functions — meeting all thresholds without excluding diagnostics.
1 parent 9d72bf0 commit b1276e4

3 files changed

Lines changed: 762 additions & 11 deletions

File tree

packages/b2c-dx-mcp/.c8rc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"all": true,
33
"src": ["src"],
4-
"exclude": ["test/**", "**/*.d.ts", "**/index.ts", "**/site-theming/types.ts", "**/tools/diagnostics/**"],
4+
"exclude": ["test/**", "**/*.d.ts", "**/index.ts", "**/site-theming/types.ts"],
55
"reporter": ["text", "text-summary", "html", "lcov"],
66
"report-dir": "coverage",
77
"check-coverage": true,

0 commit comments

Comments
 (0)