()
| 560 | |
| 561 | #[test] |
| 562 | fn test_parse_event_empty_session_id() { |
| 563 | let hook = make_hook(); |
| 564 | let input = br#"{"session_id": ""}"#; |
| 565 | let event = hook.parse_event(HookType::TurnStart, input).unwrap(); |
| 566 | assert!(event.session_id.starts_with("kiro-")); |
| 567 | } |
| 568 | |
| 569 | // --- parse_event: prompt-submit (TurnStart) --- |
| 570 |
nothing calls this directly
no test coverage detected