mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
refactor: 🚚 Move testing to its own sub-package
This commit is contained in:
parent
a211772309
commit
fde70fa61a
82 changed files with 207 additions and 125 deletions
8
packages/tests/setup.ts
Normal file
8
packages/tests/setup.ts
Normal 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");
|
||||
Loading…
Add table
Add a link
Reference in a new issue