()
| 537 | |
| 538 | #[test] |
| 539 | fn test_parse_event_missing_session_id() { |
| 540 | let hook = make_hook(); |
| 541 | let input = br#"{"cwd": "/tmp"}"#; |
| 542 | let event = hook.parse_event(HookType::TurnStart, input).unwrap(); |
| 543 | // Should generate a fallback session ID |
| 544 | assert!(event.session_id.starts_with("kilo-")); |
| 545 | } |
| 546 | |
| 547 | #[test] |
| 548 | fn test_parse_event_empty_session_id() { |
nothing calls this directly
no test coverage detected