fix: 修复测试用例中的问题 #13
Reference in New Issue
Block a user
Delete Branch "fix/test-issues"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🎯 修复内容
修复了测试套件中的多个问题,确保所有测试用例正常通过。
🔧 具体修改
邮件服务测试 (email.service.spec.ts)
testService变量,消除 TypeScript 警告验证服务测试 (verification.service.spec.ts)
getCodeStats测试的期望值,包含code和createdAt字段✅ 测试结果
📊 影响范围
🔍 验证方式
运行
npm test确认所有测试通过。