Commit 2ee6e98
committed
test(tui): freeze clock in thinking-preview cache equivalence test
The output-equivalence test compared full Console.export_text() across two
compose() calls, whose status line embeds elapsed time and token rate. Freeze
time.monotonic so the two renders are deterministic and only the cached preview
governs the comparison; guards against a rare timing-boundary flake.1 parent 4baefb7 commit 2ee6e98
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
700 | | - | |
| 700 | + | |
701 | 701 | | |
702 | 702 | | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
703 | 710 | | |
704 | 711 | | |
705 | 712 | | |
| |||
0 commit comments