()
| 529 | |
| 530 | #[test] |
| 531 | fn test_parse_prompt_submit_no_prompt() { |
| 532 | let hook = make_hook(); |
| 533 | let input = br#"{"session_id":"devin-123"}"#; |
| 534 | let event = hook.parse_event(HookType::TurnStart, input).unwrap(); |
| 535 | assert_eq!(event.session_id, "devin-123"); |
| 536 | assert!(event.prompt.is_none()); |
| 537 | } |
| 538 | |
| 539 | #[test] |
| 540 | fn test_parse_stop() { |
nothing calls this directly
no test coverage detected