(t *testing.T)
| 271 | } |
| 272 | |
| 273 | func TestCompletionScreen_Tick(t *testing.T) { |
| 274 | cs := NewCompletionScreen() |
| 275 | cs.Configure("auth", 8, 8, "chief/auth", 5, true, 0, nil) |
| 276 | cs.SetPushInProgress() |
| 277 | |
| 278 | initial := cs.spinnerFrame |
| 279 | cs.Tick() |
| 280 | if cs.spinnerFrame != initial+1 { |
| 281 | t.Error("expected spinner frame to advance on Tick()") |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | func TestCompletionScreen_PushErrorNonBlocking(t *testing.T) { |
| 286 | cs := NewCompletionScreen() |
nothing calls this directly
no test coverage detected