Preserve furniture revisions when downloading source assets
CI / check (push) Successful in 1m31s
CI / deploy (push) Successful in 1m21s
CI / e2e (push) Successful in 21s

This commit is contained in:
Simo committed 2026-09-05 14:29:48 +02:00
1 parent 7880d5d5df
commit 8a919f85b2
5 files changed
+32 -4

No files matched your search

+11
View File
@@ -304,3 +304,14 @@ describe("fetchSourceFurnidata", () => {
).rejects.toThrow(/Cloudflare challenge/);
});
});
it("preserves numeric source revisions for asset downloads", () => {
const [entry] = parseFurnidata({
roomitemtypes: {
furnitype: [
{ id: 16940, classname: "recycler_kintsugiB", revision: "73706" },
],
},
});
expect(entry.revision).toBe(73706);
});