()
| 654 | |
| 655 | #[test] |
| 656 | fn test_parse_session_start() { |
| 657 | let hook = make_hook(); |
| 658 | let input = br#"{"session_id": "test-123", "cwd": "/tmp"}"#; |
| 659 | let event = hook.parse_event(HookType::SessionStart, input).unwrap(); |
| 660 | assert_eq!(event.session_id, "test-123"); |
| 661 | assert_eq!(event.event_type, HookType::SessionStart); |
| 662 | } |
| 663 | |
| 664 | #[test] |
| 665 | fn test_parse_session_start_with_model() { |
nothing calls this directly
no test coverage detected