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
test(scoring): cover loadContributorRepoOpenPrSignalRecords's login/repo match branches
loadContributorRepoOpenPrSignalRecords filters open PRs by sameLogin (which
short-circuits a null/undefined authorLogin via Boolean(value && ...)) and
sameRepoFullName (case-insensitive), but neither branch was directly covered.
Add two tests extending the existing loader test: (1) PRs with authorLogin null
and undefined are excluded (not matched or thrown on), asserting only the target
login's PR is loaded; (2) a repoFullName differing from the query only in letter
case still matches. No source change -- coverage for existing, correct logic.
0 commit comments