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