()
| 540 | |
| 541 | #[test] |
| 542 | fn test_parse_event_empty_session_id() { |
| 543 | let hook = make_hook(); |
| 544 | let input = br#"{"session_id": ""}"#; |
| 545 | let event = hook.parse_event(HookType::TurnStart, input).unwrap(); |
| 546 | assert!(event.session_id.starts_with("kilo-")); |
| 547 | } |
| 548 | |
| 549 | #[test] |
| 550 | fn test_parse_prompt_submit() { |
nothing calls this directly
no test coverage detected