Repository navigation
Conversation
Add comprehensive test coverage for parseComparableSemver, compareComparableSemver, comparePrereleaseIdentifiers, and normalizeLegacyDotBetaVersion. These pure functions are used in update checks and had zero prior test coverage. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Greptile SummaryThis PR adds a new test file
Confidence Score: 5/5Safe to merge — pure test addition with no production code changes and all assertions verified correct. No P0 or P1 issues found. All 30 test assertions were verified against the source implementation and are accurate. The test file integrates cleanly with the existing vitest setup and covers all four exported functions comprehensively including edge cases. No files require special attention. Reviews (1): Last reviewed commit: "test(infra): add unit tests for semver-c..." | Re-trigger Greptile |
|
Thanks for adding coverage here. Closing this because it is test-only without a linked regression, maintainer request, or behavior fix; please resubmit if there is a concrete semver bug this should guard. |
Summary
semver-compare.ts.beta.NnormalizationChange Type
Test plan
🤖 Generated with Claude Code