18 lines
619 B
TypeScript
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);
|
|
});
|