Skip to content

test: add cherry-pick unit tests for pure helpers#848

Open
codebytere wants to merge 1 commit intomainfrom
test/cherry-pick-coverage
Open

test: add cherry-pick unit tests for pure helpers#848
codebytere wants to merge 1 commit intomainfrom
test/cherry-pick-coverage

Conversation

@codebytere
Copy link
Copy Markdown
Member

Extract splitPositionalArgs, computeBatchId, and formatPRTitleAndBody from the cherry-pick action handler, export the existing isUrl and commitSubject helpers, and gate program.parse() behind import.meta.main so the module is importable from tests. Add tests/e-cherry-pick.spec.mjs covering all five exports.

Extract splitPositionalArgs, computeBatchId, and formatPRTitleAndBody
from the cherry-pick action handler, export the existing isUrl and
commitSubject helpers, and gate program.parse() behind import.meta.main
so the module is importable from tests. Add tests/e-cherry-pick.spec.mjs
covering all five exports.
@codebytere codebytere requested review from a team and ckerr as code owners April 18, 2026 19:15
@dsanders11
Copy link
Copy Markdown
Member

@codebytere, looks like CI is unhappy here.

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.

2 participants