Update Healer Man server

This commit is contained in:
phenom committed 2026-09-20 21:50:50 -04:00
1 parent fdb6739f8d
commit f90ba7d989
41 files changed
+1671 -118

No files matched your search

+8 -11
View File
@@ -1,6 +1,4 @@
import { describe, expect, it } from "vitest";
import { CLASSES } from "../../app/characterCatalog";
import { partyRolesForClass } from "../partyRoles";
import { runtimeNormalizeTalentRanks } from "../talentRuntimeCatalog";
import {
loadCanonicalBenchmarkBuilds,
@@ -9,16 +7,15 @@ import {
} from "./benchmarkBuilds";
describe("canonical benchmark builds", () => {
it("covers every declared class-role pair exactly once with legal ranks", async () => {
it("defaults to the five Ready class/spec builds with legal ranks", async () => {
const builds = await loadCanonicalBenchmarkBuilds();
const expectedPairs = CLASSES.flatMap((definition) => (
partyRolesForClass(definition.id).map((role) => `${definition.id}:${role}`)
));
const actualPairs = builds.map((build) => `${build.classId}:${build.role}`);
expect(builds).toHaveLength(77);
expect(new Set(actualPairs).size).toBe(builds.length);
expect(new Set(actualPairs)).toEqual(new Set(expectedPairs));
expect(builds.map((build) => `${build.classId}:${build.orientation}:${build.role}`)).toEqual([
"warrior:Protection:tank",
"hunter:Marksmanship:damage",
"rogue:Assassination:damage",
"priest:Discipline:healer",
"mage:Fire:damage",
]);
for (const build of builds) {
expect(build.level).toBe(60);
expect(build.gearPresetId).toBe("virtual-heirloom");