Files
OpenFrontIO/tests
evanpelle ccec87943f Update GraphicsOverrides tests for classic-icons-by-default
Commit 49a12519d made classic icon styling the default in
applyGraphicsOverrides (classicIcons ?? true), but three tests still
assumed empty/absent structure overrides left the structure slice
untouched. Align them with the new behavior:

- "empty overrides" now asserts the default classic structure styling
  is applied, with everything outside the structure slice still matching
  createRenderSettings().
- "settings outside the name slice" baselines against gen({}) so it
  isolates name-override leakage rather than the classic default.
- Split the false/absent case: classicIcons=false keeps the JSON
  defaults; an absent flag applies classic styling.

Test-only change; no production code touched.
2026-06-13 13:02:13 -07:00
..