You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove unnecessary pragma: no cover from src/ files
Remove or adjust coverage pragmas in src/ files that were flagged
by strict-no-cover as covering already-tested code.
Changes:
- Remove pragmas from lines/blocks that are fully covered by tests
- Change '# pragma: no cover' to '# pragma: no branch' on lines
where the condition itself is executed but one branch isn't taken
- Move pragmas from except clause headers to their uncovered bodies
where the except IS matched but the handler body isn't reached
- Add targeted pragmas to genuinely uncovered code paths (error
handlers, rarely-hit branches, cleanup paths)
Files modified: 16 src/ files across cli, client, server, and shared
0 commit comments