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