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

+3 -1
View File
@@ -3,7 +3,9 @@ import { describe, expect, it } from "vitest";
import { importClothingSet } from "@/lib/services/clothing-set-import";
import { __clearFigureOfficialCache } from "@/lib/services/figure-official";
describe("real import", () => {
describe("real import", {
skip: process.env.RUN_IMPORT_REAL_LIVE !== "1",
}, () => {
it("imports set 5044 (needs new lib shirt_M_drsports)", async () => {
__clearFigureOfficialCache();
const progress: string[] = [];