()
| 490 | |
| 491 | #[test] |
| 492 | fn test_parse_session_start() { |
| 493 | let hook = make_hook(); |
| 494 | let input = br#"{"session_id":"devin-123","cwd":"/tmp","model":"claude-sonnet-4"}"#; |
| 495 | let event = hook.parse_event(HookType::SessionStart, input).unwrap(); |
| 496 | assert_eq!(event.session_id, "devin-123"); |
| 497 | assert_eq!(event.event_type, HookType::SessionStart); |
| 498 | } |
| 499 | |
| 500 | #[test] |
| 501 | fn test_parse_session_start_with_model() { |
nothing calls this directly
no test coverage detected