mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor: ✅ Only delete old test users once at preload
This commit is contained in:
parent
f5a0f52b93
commit
5b658984a5
30 changed files with 38 additions and 200 deletions
5
tests/setup.ts
Normal file
5
tests/setup.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { setupDatabase } from "~drizzle/db";
|
||||
import { deleteOldTestUsers } from "./utils";
|
||||
|
||||
await setupDatabase();
|
||||
await deleteOldTestUsers();
|
||||
Loading…
Add table
Add a link
Reference in a new issue