@@ -11,7 +11,7 @@ import { expect } from "vitest";
1111import { Decimal } from "@trigger.dev/database" ;
1212import { PostgresRunStore } from "@internal/run-store" ;
1313import type { RunStore } from "@internal/run-store" ;
14- import { PrismaClient } from "@trigger.dev/database" ;
14+ import type { PrismaClient } from "@trigger.dev/database" ;
1515import { RunEngine } from "../index.js" ;
1616import { setupAuthenticatedEnvironment , setupBackgroundWorker } from "../tests/setup.js" ;
1717
@@ -446,15 +446,15 @@ describe("TtlSystem store routing", () => {
446446 // expireRun (unchanged) must route its completion to NEW (waitpoint COMPLETED +
447447 // run EXPIRED on PG17) and leave the LEGACY DB (PG14) untouched.
448448
449- const legacyStore = new PostgresRunStore ( { prisma : prisma14 , readOnlyPrisma : prisma14 } ) ;
449+ const _legacyStore = new PostgresRunStore ( { prisma : prisma14 , readOnlyPrisma : prisma14 } ) ;
450450 const newStore = new PostgresRunStore ( { prisma : prisma17 , readOnlyPrisma : prisma17 } ) ;
451451
452452 const residency = new Map < string , RunStore > ( ) ;
453453 // forWaitpointCompletion has no run id, so default the router to NEW: the seeded
454454 // run and its waitpoint both live on NEW.
455455 const router = createRouter ( residency , newStore ) ;
456456
457- const env14 = await setupAuthenticatedEnvironment ( prisma14 , "PRODUCTION" ) ;
457+ const _env14 = await setupAuthenticatedEnvironment ( prisma14 , "PRODUCTION" ) ;
458458 const env17 = await setupAuthenticatedEnvironment ( prisma17 , "PRODUCTION" ) ;
459459
460460 const engine = createEngine ( prisma17 , redisOptions , router , {
0 commit comments