mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01: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
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue