MCPcopy
hub / github.com/basecamp/once / newTestRemove

Function newTestRemove

internal/ui/remove_test.go:83–91  ·  view source on GitHub ↗

Helpers

()

Source from the content-addressed store, hash-verified

81// Helpers
82
83func newTestRemove() Remove {
84 app := &docker.Application{
85 Settings: docker.ApplicationSettings{
86 Name: "test-app",
87 Host: "test-app.example.com",
88 },
89 }
90 return NewRemove(nil, app)
91}
92
93func updateRemove(m Remove, msg tea.Msg) (Remove, tea.Cmd) {
94 comp, cmd := m.Update(msg)

Calls 1

NewRemoveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…