()
| 655 | |
| 656 | #[test] |
| 657 | fn test_parse_task_start_no_nested_data() { |
| 658 | let hook = make_hook(); |
| 659 | let input = br#"{"taskId": "t1"}"#; |
| 660 | let event = hook.parse_event(HookType::SessionStart, input).unwrap(); |
| 661 | assert_eq!(event.session_id, "t1"); |
| 662 | assert!(event.prompt.is_none()); |
| 663 | } |
| 664 | |
| 665 | // ── parse_event tests: task-resume (SessionStart) ─────────────── |
| 666 |
nothing calls this directly
no test coverage detected