Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

test(agentic-ide): pin the font parity check to the grid's named constant

rubenluetke10-beep30ea26a745a6
diff --git a/tests/unit/agentic_ide/test_ui_prefs.py b/tests/unit/agentic_ide/test_ui_prefs.py
index 9047f7e67a..c0cccbe87f 100644
--- a/tests/unit/agentic_ide/test_ui_prefs.py
+++ b/tests/unit/agentic_ide/test_ui_prefs.py
@@ -143,4 +143,8 @@ def test_the_toolbar_and_the_backend_agree_on_the_bounds() -> None:
assert f"const FONT_MIN = {ui_prefs.FONT_MIN};" in grid
assert f"const FONT_MAX = {ui_prefs.FONT_MAX};" in grid
- assert f"storedFontSize() ?? {ui_prefs.FONT_DEFAULT}" in grid
+ # The grid holds the default as a named constant (it is also where
+ # Ctrl/Cmd+0 lands), so the parity check pins that definition rather than
+ # the inlined literal it used to be.
+ assert f"const FONT_DEFAULT = {ui_prefs.FONT_DEFAULT};" in grid
+ assert "storedFontSize() ?? FONT_DEFAULT" in grid