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

Function testBoxes

internal/tui/tui_test.go:34–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33func modelWithBoxes() model {
34 m := sizedModel()
35 updated, _ := m.Update(boxesLoadedMsg(testBoxes()))
36 m = updated.(model)
37 // Simulate postings loaded for first box
38 updated, _ = m.Update(currentPostingsLoaded(m.mailView, testPostings()))
39 return updated.(model)
40}
41
42func testBoxes() []mail.Source {
43 return []mail.Source{

Callers 5

modelWithBoxesFunction · 0.85
mailWithPostingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected