mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix(test): update import paths for cleanup.test.ts after move to integration
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user