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 { join } from "node:path";
|
||||||
import { eq } from "drizzle-orm";
|
import { eq } from "drizzle-orm";
|
||||||
import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
|
import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
|
||||||
import { env } from "../../../apps/api/src/config.js";
|
import { env } from "../../apps/api/src/config.js";
|
||||||
import { db, schema } from "../../../apps/api/src/db/index.js";
|
import { db, schema } from "../../apps/api/src/db/index.js";
|
||||||
import { runMigrations } from "../../../apps/api/src/db/migrate.js";
|
import { runMigrations } from "../../apps/api/src/db/migrate.js";
|
||||||
import {
|
import {
|
||||||
getMaxAgeMs,
|
getMaxAgeMs,
|
||||||
shouldRunStartupCleanup,
|
shouldRunStartupCleanup,
|
||||||
startCleanupCron,
|
startCleanupCron,
|
||||||
} from "../../../apps/api/src/lib/cleanup.js";
|
} from "../../apps/api/src/lib/cleanup.js";
|
||||||
|
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
runMigrations();
|
runMigrations();
|
||||||
|
|||||||
Reference in New Issue
Block a user