From bda7f9d80a0c169f48485f5c834ea4e3adc88b1d Mon Sep 17 00:00:00 2001 From: wangdl Date: Fri, 19 Jun 2026 22:15:39 +0800 Subject: [PATCH] fix: BigInt comparison in MySQL test --- test/m-ai-01-09.worker-int-spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/m-ai-01-09.worker-int-spec.ts b/test/m-ai-01-09.worker-int-spec.ts index ecce079..aa50bd2 100644 --- a/test/m-ai-01-09.worker-int-spec.ts +++ b/test/m-ai-01-09.worker-int-spec.ts @@ -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 () => {