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

Function TestRemove_ConfirmStartsRemoval

internal/ui/remove_test.go:48–54  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

46}
47
48func TestRemove_ConfirmStartsRemoval(t *testing.T) {
49 m := newTestRemove()
50 m, _ = updateRemove(m, tea.WindowSizeMsg{Width: 80, Height: 24})
51
52 m, _ = updateRemove(m, ConfirmationConfirmMsg{})
53 assert.True(t, m.removing)
54}
55
56func TestRemove_SuccessNavigatesToDashboard(t *testing.T) {
57 m := newTestRemove()

Callers

nothing calls this directly

Calls 2

newTestRemoveFunction · 0.85
updateRemoveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…