Repository navigation
Commit 032ddbb
test(tui): make the prompt history tick test wait for a fresh daemon result (#65)
activate() copies the daemon snapshot at once, so a quick daemon had already
delivered both entries and tick() never saw a newer generation. Ask the daemon
for a new generation after activate and wait for tick() to deliver it.
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: z123385708 <[email protected]>1 parent 25f92bc commit 032ddbb
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
466 | 479 | | |
467 | | - | |
| 480 | + | |
468 | 481 | | |
469 | 482 | | |
470 | 483 | | |
| |||
0 commit comments