chore: Test performance (#5786)

This commit is contained in:
Tom Moor
2023-09-06 17:19:21 -04:00
committed by GitHub
parent 3eb947e9a5
commit ec0564eb32
69 changed files with 449 additions and 617 deletions

View File

@@ -1,10 +1,7 @@
import { Document } from "@server/models";
import { buildCollection, buildDocument } from "@server/test/factories";
import { setupTestDatabase } from "@server/test/support";
import DetachDraftsFromCollectionTask from "./DetachDraftsFromCollectionTask";
setupTestDatabase();
describe("DetachDraftsFromCollectionTask", () => {
const ip = "127.0.0.1";
it("should detach drafts from deleted collection", async () => {