mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-22 22:44:13 +08:00
- Remove tests for non-existent cleanupBranch function - Fix types: use Octokits instead of Octokit, ParsedGitHubContext instead of EntityContext - Fix assertions: test actual BranchInfo return type (baseBranch, claudeBranch, currentBranch) - Add comprehensive test coverage for: - Issue branch creation (default/custom base branch, commit signing) - PR branch handling (open/closed/merged states) - Error handling (branch not found, repository fetch failures) - Branch naming (kubernetes-compatible, custom prefixes) - Use proper Bun test mocking patterns instead of Jest - Match function signatures and behavior from actual setupBranch implementation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: kashyap murali <km-anthropic@users.noreply.github.com>