Commit 3365850
test(claudecode): harden SessionEnd timeout assertions
Guard the Stop-hook index so a missing install fails with a clear message
instead of an index-out-of-range panic, and assert the production settings.json
omits the timeout field entirely rather than only checking the parsed value is
zero (which an explicit "timeout": 0 would also satisfy).
Addresses PR review feedback.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: 01KY9V2889KFJ2JKFW066NRW6Q1 parent 455b6ed commit 3365850
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
493 | 496 | | |
494 | 497 | | |
495 | 498 | | |
| |||
511 | 514 | | |
512 | 515 | | |
513 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
514 | 527 | | |
515 | 528 | | |
516 | 529 | | |
| |||
0 commit comments