(t *testing.T)
| 137 | } |
| 138 | |
| 139 | func TestSettings_ViewShowsError(t *testing.T) { |
| 140 | s := testSettings() |
| 141 | s.state = settingsStateForm |
| 142 | s.err = assert.AnError |
| 143 | s.width = 80 |
| 144 | s.height = 24 |
| 145 | |
| 146 | view := s.View() |
| 147 | assert.Contains(t, view, assert.AnError.Error()) |
| 148 | } |
| 149 | |
| 150 | func TestSettings_ViewShowsProgressWhileDeploying(t *testing.T) { |
| 151 | s := testSettings() |
nothing calls this directly
no test coverage detected
searching dependent graphs…