forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
9c5fb4c614
commit
bd073fb00f
113 files changed
+4902
-273
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { preloadAbilityCatalogsForClasses, sourceAbilitiesForClass } from "./abilityCatalog";
|
||||
import { permanentBuffEffects } from "./partyBuffPolicy";
|
||||
|
||||
describe("permanent party buff catalog", () => {
|
||||
it("offers learned active stat buffs without treating passive or hostile auras as GM candidates", async () => {
|
||||
await preloadAbilityCatalogsForClasses(["priest"]);
|
||||
const priest = sourceAbilitiesForClass("priest");
|
||||
const fortitude = priest.find((ability) => ability.id === "wow335-priest-power-word-fortitude");
|
||||
expect(fortitude).toBeDefined();
|
||||
expect(permanentBuffEffects(fortitude!)).not.toHaveLength(0);
|
||||
expect(priest.filter((ability) => ability.passive || ability.target === "hostile")
|
||||
.every((ability) => permanentBuffEffects(ability).length === 0)).toBe(true);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user