mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-04 18:26:07 +00:00
rename client/graphics → client/hud
The contents (Lit web components for in-game chat, build menu, leaderboard, attack displays, etc.) are HUD, not graphics — the actual graphics is in client/render/.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { vi } from "vitest";
|
||||
|
||||
// Mock BuildMenu to avoid importing lit and other ESM-heavy deps in this unit test
|
||||
vi.mock("../src/client/graphics/layers/BuildMenu", () => ({
|
||||
vi.mock("../src/client/hud/layers/BuildMenu", () => ({
|
||||
BuildMenu: class {},
|
||||
flattenedBuildTable: [],
|
||||
}));
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
COLORS,
|
||||
rootMenuElement,
|
||||
type MenuElementParams,
|
||||
} from "../src/client/graphics/layers/RadialMenuElements";
|
||||
} from "../src/client/hud/layers/RadialMenuElements";
|
||||
|
||||
// Minimal stubs to satisfy types used in rootMenuElement.subMenu and allyBreak actions
|
||||
const makePlayer = (
|
||||
|
||||
Reference in New Issue
Block a user