mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
fix
This commit is contained in:
parent
d518eb0a2b
commit
901f0b56cd
@ -223,7 +223,7 @@ import.meta.vitest?.test("applies migrations concurrently with 20 concurrent mig
|
||||
|
||||
// Only one of the promises should have applied all migrations, the rest should have applied none
|
||||
const successfulCounts = appliedCounts.reduce((sum, count) => sum + count, 0);
|
||||
expect(successfulCounts).toBe(20);
|
||||
expect(successfulCounts).toBe(2);
|
||||
|
||||
await prismaClient.$executeRaw`INSERT INTO test (name) VALUES ('test_value')`;
|
||||
const result = await prismaClient.$queryRaw`SELECT name FROM test` as { name: string }[];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user