()
| 642 | |
| 643 | #[test] |
| 644 | fn test_parse_task_start_empty_task_id() { |
| 645 | let hook = make_hook(); |
| 646 | let input = br#"{"taskId": ""}"#; |
| 647 | let event = hook.parse_event(HookType::SessionStart, input).unwrap(); |
| 648 | assert!(event.session_id.starts_with("cline-")); |
| 649 | } |
| 650 | |
| 651 | #[test] |
| 652 | fn test_parse_task_start_no_nested_data() { |
nothing calls this directly
no test coverage detected