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 <noreply@paperclip.ing>
This commit is contained in:
groombook-engineer[bot]
2026-04-03 00:55:42 +00:00
parent 63c829bfd3
commit 1044cdfec3
+1 -1
View File
@@ -80,7 +80,7 @@ vi.mock("@groombook/db", () => {
insert: () => ({
values: (vals: Record<string, unknown>) => ({
returning: () => [{ ...vals, id: "new-id-1", createdAt: new Date(), updatedAt: new Date() }] as T[],
)),
}),
}),
};
return fn(tx);