Release v0.1.6 2026-07-12

This commit is contained in:
Warren H
2026-07-12 23:20:15 -04:00
parent 35553c18dd
commit 122f159b94
55 changed files with 2229 additions and 587 deletions
+9
View File
@@ -7,6 +7,7 @@ import { AVAILABLE_BOSS_IDS, BOSS_GROUPS } from "../game/bossCatalog";
describe("game mode configuration", () => {
it("separates randomized PVE from selectable Dungeons", () => {
expect(MODE_COPY["roguelike-pve"].title).toBe("PVE");
expect(MODE_COPY["rogue-trials"].detail).toContain("unseen");
expect(MODE_COPY.dungeons.title).toBe("Dungeons");
});
@@ -33,4 +34,12 @@ describe("game mode configuration", () => {
);
}
});
it("derives trophy ownership from the saved boss pet collection", () => {
const collections = buildCollections({ dropsFound: {}, petsFound: { "bulldrome-pet": 1 } }, { bulldrome: 37 });
const bulldrome = collections.flatMap((group) => group.bosses).find((boss) => boss.bossId === "bulldrome");
expect(bulldrome?.pet.count).toBe(1);
expect(bulldrome?.pet.chance).toBe("1 in 500");
expect(bulldrome?.kills).toBe(37);
});
});