Skip to content

test: add scanner and cache unit tests#52

Merged
sonukapoor merged 1 commit intomainfrom
codex/issue-50-add-scanner-cache-tests
Apr 2, 2026
Merged

test: add scanner and cache unit tests#52
sonukapoor merged 1 commit intomainfrom
codex/issue-50-add-scanner-cache-tests

Conversation

@sonukapoor
Copy link
Copy Markdown
Collaborator

Summary

  • add unit tests for cache file creation, persistence, and backward compatibility behavior
  • add scanner tests for cached package matches, cached null advisory entries, and cache persistence after uncached scans
  • update CI to run npm test before the build so new tests are enforced in pull requests and on main

Testing

  • npm test
  • npm run build

Closes #50

@sonukapoor sonukapoor merged commit a3d782e into main Apr 2, 2026
4 checks passed
@sonukapoor sonukapoor deleted the codex/issue-50-add-scanner-cache-tests branch April 2, 2026 22:01
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 core scanning and cache behavior

1 participant