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

View file

@ -4,6 +4,11 @@ import { Notes, Reactions, Users } from "@versia/kit/tables";
import { sign } from "@versia/sdk/crypto";
import * as VersiaEntities from "@versia/sdk/entities";
import { config } from "@versia-server/config";
import {
fakeRequest,
generateClient,
getTestUsers,
} from "@versia-server/tests";
import { randomUUIDv7, sleep } from "bun";
import {
clearMocks,
@ -12,7 +17,6 @@ import {
mock,
} from "bun-bagel";
import { and, eq, isNull } from "drizzle-orm";
import { fakeRequest, generateClient, getTestUsers } from "~/tests/utils";
const instanceUrl = new URL("https://versia.example.com");
const noteId = randomUUIDv7();