import { getServerConfig } from '../src/config/server-config'; /** 测试独立配置,不读取本地 .env;固定测试密钥不得用于开发或生产。 */ export const testConfig = getServerConfig({ NODE_ENV: 'test', JWT_SECRET: 'test-only-secret-123456789012345678901234567890', DATABASE_URL: 'postgresql://test:test@127.0.0.1:1/doodle_test?schema=public', WECHAT_MINI_APP_ID: 'wx0123456789abcdef', WECHAT_MINI_APP_SECRET: 'test-only-wechat-secret', });