MCPcopy Create free account
hub / github.com/codehamr/codehamr / TestArgPopoverReloadsCfgOnEntry

Function TestArgPopoverReloadsCfgOnEntry

internal/tui/tui_test.go:872–900  ·  view source on GitHub ↗

TestArgPopoverReloadsCfgOnEntry: the arg popover builds its list from m.cfg.Models. Without the cmd→arg reload in refreshSuggest, the first "/models " sees stale in-memory cfg and misses a hand-added profile; reload-at-popover-open makes it visible on the first entry, not the second.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

newTestModelFunction · 0.85
typeIntoFunction · 0.85
suggestNamesFunction · 0.85

Tested by

no test coverage detected