project-nomad/admin/.env.test
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

19 lines
497 B
Plaintext

PORT=8080
HOST=localhost
LOG_LEVEL=info
APP_KEY=test_key_for_unit_tests_1234567890
NODE_ENV=test
URL=http://localhost:8080
SESSION_DRIVER=cookie
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_DATABASE=nomad
DB_PASSWORD=password
DB_SSL=false
REDIS_HOST=localhost
REDIS_PORT=6379
# Storage path for NOMAD content (ZIM files, maps, etc.)
# On Windows dev, use an absolute path like: C:/nomad-storage
# On Linux production, use: /opt/project-nomad/storage
NOMAD_STORAGE_PATH=/opt/project-nomad/storage