fix: harden drift verifier and validation flow

This commit is contained in:
mindesbunister
2025-12-10 15:05:44 +01:00
parent 0a45279c64
commit 4e286c91ef
12 changed files with 620 additions and 579 deletions

View File

@@ -0,0 +1,14 @@
import { jest } from '@jest/globals'
export const mockPrismaClient = {
trade: {
findUnique: jest.fn(),
findMany: jest.fn(),
findFirst: jest.fn(),
update: jest.fn(),
},
}
export const getPrismaClient = jest.fn(() => mockPrismaClient)
export default { getPrismaClient }