Skip to content

test: add OSV advisory source tests#64

Merged
sonukapoor merged 1 commit intomainfrom
codex/issue-63-osv-advisory-source-tests
Apr 3, 2026
Merged

test: add OSV advisory source tests#64
sonukapoor merged 1 commit intomainfrom
codex/issue-63-osv-advisory-source-tests

Conversation

@sonukapoor
Copy link
Copy Markdown
Collaborator

Summary

  • add unit tests for src/advisory/osv-advisory-source.ts
  • cover batch query request formatting, result mapping, vulnerability detail fetches, and wrapped HTTP/network error paths
  • reduce the remaining untested network-facing logic before broader CLI integration coverage

Testing

  • npm test
  • npm run build

Closes #63

@sonukapoor sonukapoor merged commit 6a6fd4b into main Apr 3, 2026
4 checks passed
@sonukapoor sonukapoor deleted the codex/issue-63-osv-advisory-source-tests branch April 3, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement] Add unit tests for the OSV advisory source

1 participant