feat: add request create/list API

This commit is contained in:
Jonathan
2026-07-10 16:47:54 +02:00
parent ab4db641b0
commit 15bb68bc49
4 changed files with 114 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import { beforeEach } from "vitest";
import { prisma } from "@/lib/db";
beforeEach(async () => {
// Job has a cascade FK to Request; delete Job first.
await prisma.job.deleteMany();
await prisma.request.deleteMany();
});