fix: replace jsonc with jsonc-parser and cleanup build config
This commit is contained in:
1 parent
0bd2ac6707
commit
e867b675fc
12 files changed
+195
-216
No files matched your search
@@ -0,0 +1,17 @@
|
||||
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("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);
|
||||
});
|
||||
Reference in new issue
Block a user