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