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

Function modelWithBoxes

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

Source from the content-addressed store, hash-verified

23 return newModel()
24}
25
26func sizedModel() model {
27 m := testModel()
28 updated, _ := m.Update(tea.WindowSizeMsg{Width: 80, Height: 40})
29 return updated.(model)
30}
31
32func modelWithBoxes() model {
33 m := sizedModel()
34 updated, _ := m.Update(boxesLoadedMsg(testBoxes()))
35 m = updated.(model)

Callers 8

TestTabCyclesFocusFunction · 0.85
TestDoubleCtrlCQuitsFunction · 0.85
TestEscExitsThreadFunction · 0.85
TestQExitsThreadFunction · 0.85
TestViewShowsHeaderFunction · 0.85
TestViewShowsBoxNamesFunction · 0.85

Calls 5

sizedModelFunction · 0.85
boxesLoadedMsgTypeAlias · 0.85
testBoxesFunction · 0.85
testPostingsFunction · 0.85
UpdateMethod · 0.65

Tested by

no test coverage detected