()
| 538 | |
| 539 | #[test] |
| 540 | fn test_parse_stop() { |
| 541 | let hook = make_hook(); |
| 542 | let input = |
| 543 | br#"{"session_id":"devin-123","model":"claude-sonnet-4","trajectory_id":"traj-1"}"#; |
| 544 | let event = hook.parse_event(HookType::TurnEnd, input).unwrap(); |
| 545 | assert_eq!(event.session_id, "devin-123"); |
| 546 | assert_eq!(event.event_type, HookType::TurnEnd); |
| 547 | } |
| 548 | |
| 549 | #[test] |
| 550 | fn test_parse_post_tool() { |
nothing calls this directly
no test coverage detected