fix: BigInt comparison in MySQL test
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 49s

This commit is contained in:
wangdl 2026-06-19 22:15:39 +08:00
parent cb9b56f0dc
commit bda7f9d80a

View File

@ -82,7 +82,7 @@ describe('M-AI-01-09 真实集成测试', () => {
it('MySQL 连接正常', async () => {
const rows = await dbQuery(DB_URL, 'SELECT 1 as ok');
expect(rows[0]).toHaveProperty('ok', 1);
expect(Number((rows[0] as any).ok)).toBe(1);
});
it('Redis 连接正常', async () => {