TestClearResetsSessionTokens: /clear wipes the conversation AND the session counter: starting over from zero is the whole point.
(t *testing.T)
| 2315 | |
| 2316 | m.phase = phaseStreaming |
| 2317 | m.turnStart = time.Now().Add(-90 * time.Second) |
| 2318 | bar := stripANSI(m.renderStatusBar()) |
| 2319 | if !strings.Contains(bar, "generating") { |
| 2320 | t.Fatalf("active bar should show the phase label: %q", bar) |
| 2321 | } |
| 2322 | if !strings.Contains(bar, "1m 30s") { |
| 2323 | t.Fatalf("active bar should show the live wall-clock: %q", bar) |
| 2324 | } |
| 2325 | |
| 2326 | m.phase = phaseIdle |
| 2327 | m.turnStart = time.Time{} |
nothing calls this directly
no test coverage detected