tractatus/.env.test
TheFlow f44f39e3f9 fix: Add STRIPE_SECRET_KEY for CI and skip pre-seeded data tests
- Add STRIPE_SECRET_KEY to .env.test and CI env (Stripe SDK v19 throws
  on construction without a key)
- Skip 2 integration tests that require pre-seeded governance rules
  (CI uses fresh empty database)

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

13 lines
521 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
STRIPE_SECRET_KEY=sk_test_fake_for_ci_only
ENABLE_AI_CURATION=false
ENABLE_MEDIA_TRIAGE=false
ENABLE_CASE_SUBMISSIONS=false