6 Commits

Author SHA1 Message Date
maasa 2b74d8d635 chore: replace biome with oxfmt 2026-02-21 19:11:52 +09:00
maasa 1a56be67c1 cleanup prettier/eslint 2026-02-20 14:50:40 +09:00
yoshiko 196388df07 Rename diff mode labels and clean up related docs (#195)
* refactor: rename diff modes to split/unified

* format

* format
2026-02-04 15:11:07 +09:00
maasa e932447774 feat: Change default port from 3000 to 4966
プロンプト内容:
portのデフォルトを3000じゃなくて4966にしたい

実行したTODOリスト:
- デフォルトポート3000の使用箇所を探す
- デフォルトポートを4966に変更する

Changes:
- Update server default port to 4966
- Update vite proxy configuration to use port 4966
- Update all README files (EN, JA, KO, ZH) with new default port
- Update documentation (structure.md) with new default port
- Update test files to expect port 4966 instead of 3000
2025-07-28 01:06:08 +09:00
yoshiko 1f5d010276 Rename to difit (#33)
* reviewit -> difit

* Difit -> difit

* Replace images
2025-07-09 12:11:07 +09:00
yoshiko 1bb6290dbb Implement integration tests (#27)
* Add comprehensive documentation for codebase structure and testing strategy

- Create docs/structure.md with detailed architecture overview
- Create docs/test.md with testing plan and design
- Document CLI arguments, options, and special behaviors
- Outline Git operations and server architecture
- Plan integration tests for CLI parameters and server endpoints

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add comprehensive CLI and server tests with mode option bug fix

- src/cli/index.test.ts: CLI parameter processing, options, Git operations, PR integration
- src/server/server.test.ts: Server startup, API endpoints, CORS, static file serving

- Fix mode option not being passed to client via API response
- Add mode field to /api/diff response (server.ts:64)

- Mock simpleGit and server dependencies for isolated CLI testing
- Test all CLI argument combinations and special keywords (working, staged, .)
- Test server API endpoints with actual HTTP requests
- Add ESLint overrides for test files to reduce noise

- 64 tests total (16 CLI + 17 server + existing 32 utils)
- Tests CLI argument validation, option handling, Git operations
- Tests server startup, port fallback, API endpoints, error handling
- Validates mode option is properly transmitted from CLI to client

- Fix TypeScript build errors in test files
- Add type assertions for test response data
- Remove unused variables and parameters
- All tests pass with proper type checking

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-03 09:27:16 +09:00