Commit Graph

3 Commits

Author SHA1 Message Date
Claude
7bd8567564
test: add ChatService unit tests, fix DockerService TS error, add .env.test
- Create chat_service.spec.ts with tests for suggestion parsing (comma/newline
  separated, bullet points, numbered lists, quote stripping), model selection
  (largest model), error handling for all DB-dependent methods, generateTitle
  fallback logic, and message role validation
- Fix TypeScript narrowing error in docker_service.spec.ts container command
  splitting test (null type cast)
- Add .env.test with required environment variables for test suite bootstrap

https://claude.ai/code/session_01JFvpTYgm8GiE4vJ4cJKsFx
2026-03-24 09:36:22 +00:00
Claude
d93b6679b9
test: add unit tests for DockerService and RagService
- Test GPU detection logic with mocked exec calls
- Test service installation guard and race condition prevention
- Test container command splitting with quoted arguments
- Test sanitizeFilename utility function
- Test file type validation and error handling

https://claude.ai/code/session_01JFvpTYgm8GiE4vJ4cJKsFx
2026-03-24 09:30:53 +00:00
Jake Turner
b33a1b3e37 feat: initial commit 2025-06-29 15:51:08 -07:00