fix(test): type drizzle mock callbacks for tsc
CI / check (push) Successful in 24s
CI / release (push) Skipped
CI / deploy (push) Successful in 1m4s

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
SimoandCursor committed 2026-08-01 13:18:10 +02:00
1 parent 096f55b394
commit 22234fe102
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -15,7 +15,8 @@ vi.mock("next/headers", () => ({
headers: () =>
new Promise((resolve) =>
resolve({
get: (key) => (key === "x-real-client-ip" ? "192.168.1.1" : null),
get: (key: string) =>
key === "x-real-client-ip" ? "192.168.1.1" : null,
}),
),
}));