From 1044cdfec310faff38f871daa3c21e8bc575483f Mon Sep 17 00:00:00 2001 From: "groombook-engineer[bot]" <3141748+groombook-engineer[bot]@users.noreply.github.com> Date: Fri, 3 Apr 2026 00:55:42 +0000 Subject: [PATCH] fix(api): correct transaction mock closing bracket in authProvider test Syntax error: `))` was closing the arrow function body prematurely. Change `)),` to `}),` to properly close the values-returning object. Co-Authored-By: Paperclip --- apps/api/src/__tests__/authProvider.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/__tests__/authProvider.test.ts b/apps/api/src/__tests__/authProvider.test.ts index 4c9e5f4..8611635 100644 --- a/apps/api/src/__tests__/authProvider.test.ts +++ b/apps/api/src/__tests__/authProvider.test.ts @@ -80,7 +80,7 @@ vi.mock("@groombook/db", () => { insert: () => ({ values: (vals: Record) => ({ returning: () => [{ ...vals, id: "new-id-1", createdAt: new Date(), updatedAt: new Date() }] as T[], - )), + }), }), }; return fn(tx);