MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / TestCompletionScreen_NoBranch

Function TestCompletionScreen_NoBranch

internal/tui/completion_test.go:23–30  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

21}
22
23func TestCompletionScreen_NoBranch(t *testing.T) {
24 cs := NewCompletionScreen()
25 cs.Configure("auth", 8, 8, "", 0, false, 0, nil)
26
27 if cs.HasBranch() {
28 t.Error("expected HasBranch() to be false when branch is empty")
29 }
30}
31
32func TestCompletionScreen_RenderHeader(t *testing.T) {
33 cs := NewCompletionScreen()

Callers

nothing calls this directly

Calls 3

ConfigureMethod · 0.95
HasBranchMethod · 0.95
NewCompletionScreenFunction · 0.85

Tested by

no test coverage detected