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

Function TestBackendLabelReflectsConnectedState

internal/tui/tui_test.go:1420–1433  ·  view source on GitHub ↗

TestBackendLabelReflectsConnectedState asserts the backend label renders differently when connected vs not: the user's at-a-glance "are we talking to a server?" signal. Disconnected appends a `!` marker so the distinction survives on colour-stripped terminals.

(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

BootstrapFunction · 0.92
backendLabelFunction · 0.85
stripANSIFunction · 0.85

Tested by

no test coverage detected