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