()
| 647 | |
| 648 | #[test] |
| 649 | fn test_parse_task_start_no_nested_data() { |
| 650 | let hook = make_hook(); |
| 651 | let input = br#"{"taskId": "t1"}"#; |
| 652 | let event = hook.parse_event(HookType::SessionStart, input).unwrap(); |
| 653 | assert_eq!(event.session_id, "t1"); |
| 654 | assert!(event.prompt.is_none()); |
| 655 | } |
| 656 | |
| 657 | // ── parse_event tests: task-resume (SessionStart) ─────────────── |
| 658 |
nothing calls this directly
no test coverage detected