forked from phenom/healer-man
Release Healer Man 0.1.22
This commit is contained in:
1 parent
f6f2375145
commit
7f6001723a
144 files changed
+54107
-690
No files matched your search
@@ -5,6 +5,7 @@ import {
|
||||
auraDisplayName,
|
||||
auraDefinitionDisplaysInStrip,
|
||||
auraDefinitionIcon,
|
||||
auraDefinitionIsDispellableDebuff,
|
||||
auraDefinitionIsLongTerm,
|
||||
auraDescription,
|
||||
groupAurasForDisplay,
|
||||
@@ -64,6 +65,15 @@ describe("aura strip visibility", () => {
|
||||
expect(auraDefinitionIsLongTerm(aura({ durationMs: LONG_TERM_AURA_DURATION_MS - 1 }))).toBe(false);
|
||||
});
|
||||
|
||||
it("identifies only categorized debuffs as dispellable player effects", () => {
|
||||
expect(auraDefinitionIsDispellableDebuff(aura({ dispelCategory: "magic" }))).toBe(true);
|
||||
expect(auraDefinitionIsDispellableDebuff(aura())).toBe(false);
|
||||
expect(auraDefinitionIsDispellableDebuff(aura({
|
||||
disposition: "buff",
|
||||
dispelCategory: "magic",
|
||||
}))).toBe(false);
|
||||
});
|
||||
|
||||
it("prefers authored tooltip copy and explains absorb-only fallback auras", () => {
|
||||
expect(auraDescription(activeAura(aura({ description: "Raises armor by 10%." })))).toBe(
|
||||
"Raises armor by 10%.",
|
||||
|
||||
Reference in new issue
Block a user