Fix: make live test describe blocks conditional on RUN env vars (skip when not set)

This commit is contained in:
openhands committed 2026-10-11 20:49:53 +02:00
1 parent 6912669754
commit acbb833eca
8 files changed
+21 -12

No files matched your search

@@ -13,9 +13,9 @@ import { sql } from "drizzle-orm";
import { beforeAll, describe, expect, it } from "vitest";
import { loadEnvForLiveTests } from "@/test/live-env";
const runLive = process.env.RUN_CATALOG_AUDIT_LIVE === "1";
describe("catalog repair direct (live)", () => {
describe("catalog repair direct (live)", {
skip: process.env.RUN_CATALOG_AUDIT_LIVE !== "1",
}, () => {
let db: typeof import("@/lib/db").db;
let repair: typeof import("@/lib/services/catalog-repair");