Files
EpicNext-Cms/src/lib/services/import-real.test.ts
T
openhands c808c59fce
CI / check (push) Successful in 24s
CI / release (push) Skipped
CI / deploy (push) Failing after 1m31s
fix: replace jsonc with jsonc-parser and cleanup build config
2026-08-11 16:53:03 +02:00

18 lines
619 B
TypeScript

import { describe, expect, it } from "vitest";
import { importClothingSet } from "@/lib/services/clothing-set-import";
import { __clearFigureOfficialCache } from "@/lib/services/figure-official";
describe("real import", () => {
it.skip("imports set 5044 (needs new lib shirt_M_drsports)", async () => {
__clearFigureOfficialCache();
const progress: string[] = [];
const r = await importClothingSet({
setType: "ch",
setId: 5044,
onProgress: (s) => progress.push(s),
});
expect(r.ok, JSON.stringify(r)).toBe(true);
expect(progress).toContain("importing library shirt_M_drsports");
}, 120000);
});