MCPcopy Create free account
hub / github.com/basecamp/hey-cli / TestMailViewContentKeyInThread

Function TestMailViewContentKeyInThread

internal/tui/mail_test.go:168–175  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

166// --- Init ---
167
168func TestMailViewInitFetchesBoxes(t *testing.T) {
169 v := newMailView(testVC())
170 cmd := v.Init()
171 if cmd == nil {
172 t.Fatal("Init with no boxes should return a fetch command")
173 }
174 if !v.requests.loading {
175 t.Error("Init should set loading = true")
176 }
177}
178

Callers

nothing calls this directly

Calls 3

mailWithPostingsFunction · 0.85
keyPressFunction · 0.85
HandleContentKeyMethod · 0.65

Tested by

no test coverage detected