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 () => {