- 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
- 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