fix: BigInt comparison in MySQL test
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 49s
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 49s
This commit is contained in:
parent
cb9b56f0dc
commit
bda7f9d80a
@ -82,7 +82,7 @@ describe('M-AI-01-09 真实集成测试', () => {
|
|||||||
|
|
||||||
it('MySQL 连接正常', async () => {
|
it('MySQL 连接正常', async () => {
|
||||||
const rows = await dbQuery(DB_URL, 'SELECT 1 as ok');
|
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 () => {
|
it('Redis 连接正常', async () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user