forked from phenom/healer-man
34 lines
1.5 KiB
TypeScript
34 lines
1.5 KiB
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { romPriestDescription, romPriestName } from "./romPriestTooltips";
|
|
|
|
describe("current CoA Priest skill labels and descriptions", () => {
|
|
it("maps the reused Ice Fog IDs to their current CoA names", () => {
|
|
expect(romPriestName(490274, "Ice Fog")).toBe("Holy Blessing");
|
|
expect(romPriestName(490275, "Ice Fog")).toBe("Vow of Silence");
|
|
expect(romPriestName(490276, "Ice Fog")).toBe("Holy Void");
|
|
expect(romPriestName(490273, "Wave Armor")).toBe("Wave Armor");
|
|
});
|
|
|
|
it("describes Holy Blessing's current Wisdom formula and Light damage bonus", () => {
|
|
const description = romPriestDescription(490274, "old Ice Fog tooltip");
|
|
expect(description).toContain("passive");
|
|
expect(description).toContain("Wisdom + 115");
|
|
expect(description).toContain("10.5%");
|
|
expect(description).toContain("Light Damage bonus: +100.9%");
|
|
});
|
|
|
|
it("documents Vow of Silence interruption and PvP duration", () => {
|
|
const description = romPriestDescription(490275, "old Ice Fog tooltip");
|
|
expect(description).toContain("interrupts");
|
|
expect(description).toContain("8.4 seconds");
|
|
expect(description).toContain("4.2 seconds against players");
|
|
});
|
|
|
|
it("documents Holy Void damage and defense reduction", () => {
|
|
const description = romPriestDescription(490276, "old Ice Fog tooltip");
|
|
expect(description).toContain("1655 Light Damage");
|
|
expect(description).toContain("18.8%");
|
|
expect(description).toContain("20 seconds");
|
|
});
|
|
});
|