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