fix(test): update import paths for cleanup.test.ts after move to integration

This commit is contained in:
SnapOtter
2026-06-10 00:24:42 +08:00
parent 5b3b3c7632
commit 78679c57f4
+4 -4
View File
@@ -4,14 +4,14 @@ import { tmpdir } from "node:os";
import { join } from "node:path";
import { eq } from "drizzle-orm";
import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
import { env } from "../../../apps/api/src/config.js";
import { db, schema } from "../../../apps/api/src/db/index.js";
import { runMigrations } from "../../../apps/api/src/db/migrate.js";
import { env } from "../../apps/api/src/config.js";
import { db, schema } from "../../apps/api/src/db/index.js";
import { runMigrations } from "../../apps/api/src/db/migrate.js";
import {
getMaxAgeMs,
shouldRunStartupCleanup,
startCleanupCron,
} from "../../../apps/api/src/lib/cleanup.js";
} from "../../apps/api/src/lib/cleanup.js";
beforeAll(() => {
runMigrations();