MCPcopy Create free account
hub / github.com/compozy/agh / updateInstallWizardModel

Function updateInstallWizardModel

internal/cli/install_test.go:81–94  ·  view source on GitHub ↗
(
	t *testing.T,
	model *installWizardModel,
	msg tea.Msg,
)

Source from the content-addressed store, hash-verified

79}
80
81func updateInstallWizardModel(
82 t *testing.T,
83 model *installWizardModel,
84 msg tea.Msg,
85) (*installWizardModel, tea.Cmd) {
86 t.Helper()
87
88 next, cmd := model.Update(msg)
89 typed, ok := next.(*installWizardModel)
90 if !ok {
91 t.Fatalf("Update() model = %T, want *installWizardModel", next)
92 }
93 return typed, cmd
94}
95
96func TestInstallCommandMachineOutput(t *testing.T) {
97 t.Parallel()

Callers 1

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected