import { execSync } from 'child_process'; console.log('=== 开始执行全量测试 ===\n'); try { execSync('npm run test:e2e', { stdio: 'inherit', }); console.log('\n✅ 全量测试执行完成'); } catch (error) { console.error('\n❌ 全量测试执行失败'); process.exit(1); }