Ethan Hurst
c027fe6542
test(07-02): add cmdCommit and cmdWebsearch tests for commands.cjs
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.
2026-02-26 05:47:33 +10:00
..
2026-02-26 05:47:33 +10:00
2026-02-26 05:47:19 +10:00
2026-02-26 05:47:19 +10:00
2026-02-26 05:47:19 +10:00
2026-02-26 05:47:19 +10:00
2026-02-23 09:35:43 -06:00
2026-02-26 05:47:19 +10:00
2026-02-23 13:32:02 -06:00
2026-02-20 10:30:54 -05:00
2026-02-25 07:20:14 -06:00
2026-02-26 05:47:19 +10:00
2026-02-26 05:47:19 +10:00