Skip to content

test: complete test coverage for logger, index, watch + CLAUDE.md fixes#29

Merged
robotlearning123 merged 6 commits intomainfrom
feat/test-coverage-round2
Mar 2, 2026
Merged

test: complete test coverage for logger, index, watch + CLAUDE.md fixes#29
robotlearning123 merged 6 commits intomainfrom
feat/test-coverage-round2

Conversation

@robotlearning123
Copy link
Member

Summary

  • Added cli.ts to CLAUDE.md Architecture section and Core files list
  • Added logger.test.ts — 14 tests (JSON format, level filtering, stream routing)
  • Added watch command tests to cli.test.ts — 4 tests (SSE streaming mock)
  • Added index.test.ts — 9 tests (subprocess validation of --repo, --workers, --port, --system-prompt-file)
  • Total: 216 → 282 tests across 8 suites, all passing

Test plan

  • npx tsc --noEmit — zero errors
  • Full suite 282/282 pass
  • Pre-commit hooks pass on all commits

🤖 Generated with Claude Code

Test and others added 6 commits March 1, 2026 23:24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
JSON format, stream routing (stdout vs stderr), level filtering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SSE streaming mock with ReadableStream, covers all 12 CLI commands.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Subprocess validation of --repo, --workers, --port, --system-prompt-file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@robotlearning123 robotlearning123 merged commit cc41ca9 into main Mar 2, 2026
2 checks passed
@robotlearning123 robotlearning123 deleted the feat/test-coverage-round2 branch March 2, 2026 04:28
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.

1 participant