forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
97ee0c13f9
commit
f864b5aea7
20 files changed
+468
-211
No files matched your search
@@ -25,6 +25,10 @@ const shelvedCompanionSource = readFileSync(
|
||||
new URL("./ShelvedCompanionPanel.enabled.tsx", import.meta.url),
|
||||
"utf8",
|
||||
);
|
||||
const mainMenuSource = readFileSync(
|
||||
new URL("./MainMenuScreen.tsx", import.meta.url),
|
||||
"utf8",
|
||||
);
|
||||
|
||||
describe("gameplay panel loading integration", () => {
|
||||
it("loads talent resources behind the main-menu catalog gate, not during gameplay", () => {
|
||||
@@ -52,4 +56,19 @@ describe("gameplay panel loading integration", () => {
|
||||
expect(gameplayPanelsSource).toContain("<PreloadedBossGuidePanel />");
|
||||
expect(companionPanelSource).toContain("<ShelvedCompanionPanel");
|
||||
});
|
||||
|
||||
it("groups primary adventures separately and keeps testing utilities in the GM menu", () => {
|
||||
expect(mainMenuSource).toContain('className="main-menu-card main-menu-card--adventures"');
|
||||
expect(mainMenuSource).toContain('mode.id === "dungeons" || mode.id === "randomized-bite-sized"');
|
||||
expect(mainMenuSource).toContain('controlId="mode-gm-menu"');
|
||||
for (const controlId of [
|
||||
"gm-menu-gm-tools",
|
||||
"gm-menu-boss-testing",
|
||||
"gm-menu-companion-readiness",
|
||||
"gm-menu-balance-lab",
|
||||
"gm-menu-reports",
|
||||
]) {
|
||||
expect(mainMenuSource).toContain(`controlId="${controlId}"`);
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user