Skip to content

Commit 8cc8199

Browse files
committed
fixed
1 parent 7cd82a3 commit 8cc8199

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/backend/src/__tests__/cards.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ describe('PUT /api/cards/:id/default — serialization isolation & retry', () =>
341341
mockPrisma.$transaction.mockImplementation(
342342
async (callback: (tx: typeof mockPrisma) => Promise<unknown>) => {
343343
callCount++;
344-
if (callCount === 1) throw p2034;
344+
if (callCount === 1) { throw p2034; }
345345
mockPrisma.card.updateMany.mockResolvedValue({ count: 2 });
346346
mockPrisma.card.update.mockResolvedValue({ ...mockCard, isDefault: true });
347347
return callback(mockPrisma);

0 commit comments

Comments
 (0)