cmdCommit tests (5 cases) with real git repos via createTempGitProject: - commit_docs=false skip, .planning gitignored skip, nothing-to-commit - Successful commit with hash and git log verification - Amend mode with commit count verification cmdWebsearch tests (6 cases) with fetch mocking and stdout interception: - No API key returns available=false, no query returns error - Successful response with correct result shape - URL parameter construction verification - API error (non-200) handling, network failure handling Covers requirements CMD-04, CMD-05.
44 KiB
44 KiB