Commit 0a076df
committed
test(review): cover composeAdvisoryNotes' null fallthrough end-to-end (Codecov branch gap)
The composeAdvisoryNotes(...) ?? composeFallbackAdvisoryNotes(fallbackNotes)
line's right-hand branch was never exercised through runLoopOverAiReview --
the prior score-terms tests only ever hit composeAdvisoryNotes' own internal
non-null fallback text, never this outer nullish-coalescing fallthrough.
Mirrors the existing "composeAdvisoryNotes returns null when no assessment
or finding is public-safe" unit fixture, driven end-to-end instead.1 parent f60a14c commit 0a076df
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3605 | 3605 | | |
3606 | 3606 | | |
3607 | 3607 | | |
| 3608 | + | |
| 3609 | + | |
| 3610 | + | |
| 3611 | + | |
| 3612 | + | |
| 3613 | + | |
| 3614 | + | |
| 3615 | + | |
| 3616 | + | |
| 3617 | + | |
| 3618 | + | |
| 3619 | + | |
| 3620 | + | |
| 3621 | + | |
| 3622 | + | |
| 3623 | + | |
| 3624 | + | |
| 3625 | + | |
3608 | 3626 | | |
3609 | 3627 | | |
3610 | 3628 | | |
| |||
0 commit comments