mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 11:10:42 +00:00
ccec87943f
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.