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

+1 -1
View File
@@ -10,7 +10,7 @@ const { selectLimit, insertOnDup, mockSendMail, mockRedirect } = vi.hoisted(
);
vi.mock("next/navigation", () => ({
redirect: (...args) => {
redirect: (...args: unknown[]) => {
mockRedirect(...args);
throw new Error("redirect");
},