refactor: 🚚 Move testing to its own sub-package

This commit is contained in:
Jesse Wierzbinski 2025-06-15 22:17:33 +02:00
parent a211772309
commit fde70fa61a
No known key found for this signature in database
82 changed files with 207 additions and 125 deletions

8
packages/tests/setup.ts Normal file
View file

@ -0,0 +1,8 @@
import { setupDatabase } from "@versia/kit/db";
import { deleteOldTestUsers } from "./index.ts";
await setupDatabase();
await deleteOldTestUsers();
// Start workers
await import("~/packages/worker/index.ts");