From b286b1b8819072212acd672fbdc35cf1f69718f9 Mon Sep 17 00:00:00 2001 From: beatz174-bit Date: Tue, 2 Dec 2025 17:42:55 +1000 Subject: [PATCH] Fix mock DB transaction type constraint --- src/testUtils/mockDb.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testUtils/mockDb.ts b/src/testUtils/mockDb.ts index 96806ad..1737a7e 100644 --- a/src/testUtils/mockDb.ts +++ b/src/testUtils/mockDb.ts @@ -80,7 +80,7 @@ export const createMockDb = (data?: { importExportLogs: new MockTable(data?.importExportLogs ?? []), transaction: async ( _mode: string, - ...args: Array | (() => unknown)> + ...args: Array | (() => unknown)> ) => { const cb = args.at(-1); if (typeof cb === 'function') return cb();