Skip to content

test: add parent upgrade remediation tests#62

Merged
sonukapoor merged 1 commit intomainfrom
codex/issue-61-parent-upgrade-tests
Apr 3, 2026
Merged

test: add parent upgrade remediation tests#62
sonukapoor merged 1 commit intomainfrom
codex/issue-61-parent-upgrade-tests

Conversation

@sonukapoor
Copy link
Copy Markdown
Collaborator

Summary

  • add unit tests for src/remediation/parent-upgrade.ts
  • cover non-transitive skips, missing direct parents, exact direct-child upgrade recommendations, deeper best-effort recommendations, and failed packument fetches
  • isolate module-level packument caching in tests so each remediation scenario is validated independently

Testing

  • npm test
  • npm run build

Closes #61

@sonukapoor sonukapoor merged commit 4845de9 into main Apr 3, 2026
3 checks passed
@sonukapoor sonukapoor deleted the codex/issue-61-parent-upgrade-tests branch April 24, 2026 19:30
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 parent upgrade remediation logic

1 participant