feat: add extensive test suite

This commit is contained in:
2026-08-30 11:33:53 +07:00 Unverified
parent 061cce00dc
commit 8359c7272e
131 changed files with 8717 additions and 2200 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
import { db } from "@/lib/db";
import { submissions } from "@/lib/db/schema";
import { createCountHandler } from "@/lib/server-handlers";
export async function GET() {
return Response.json(await db.$count(submissions));
}
export const GET = createCountHandler(() => db.$count(submissions));