Release v0.1.6 2026-07-12
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user