tractatus/.env.test
TheFlow d47bdaf0b4 fix: Remove fake CLAUDE_API_KEY from .env.test to prevent CI crash
test_placeholder_key caused ClaudeAPI service to make real HTTPS
requests to api.anthropic.com, resulting in unhandled rejections that
crash the Jest worker process. Without a key, sendMessage() throws
synchronously instead. All tests properly mock ClaudeAPI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 18:46:06 +13:00

12 lines
478 B
Text

NODE_ENV=test
MONGODB_URI=mongodb://tractatus_user:uV6IajYK7pdrqY1uGad%2FK%2FLwDIaL7pebLZApPqS1FjE%3D@localhost:27017/tractatus_prod?authSource=tractatus_prod
MONGODB_DB=tractatus_prod
JWT_SECRET=test_secret_for_testing_only
JWT_EXPIRY=7d
ADMIN_EMAIL=admin@tractatus.test
PORT=9001
LOG_LEVEL=error
# CLAUDE_API_KEY intentionally unset - tests mock ClaudeAPI; a fake key causes real HTTPS requests
ENABLE_AI_CURATION=false
ENABLE_MEDIA_TRIAGE=false
ENABLE_CASE_SUBMISSIONS=false