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>
This commit is contained in:
parent
43e7506528
commit
d47bdaf0b4
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ JWT_EXPIRY=7d
|
|||
ADMIN_EMAIL=admin@tractatus.test
|
||||
PORT=9001
|
||||
LOG_LEVEL=error
|
||||
CLAUDE_API_KEY=test_placeholder_key
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue