Preserve furniture revisions when downloading source assets
This commit is contained in:
1 parent
7880d5d5df
commit
8a919f85b2
5 files changed
+32
-4
No files matched your search
@@ -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);
|
||||
});
|
||||
Reference in new issue
Block a user