( t *testing.T, model *installWizardModel, msg tea.Msg, )
| 79 | } |
| 80 | |
| 81 | func 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 | |
| 96 | func TestInstallCommandMachineOutput(t *testing.T) { |
| 97 | t.Parallel() |
no test coverage detected