()
| 1105 | |
| 1106 | #[test] |
| 1107 | fn test_parse_extra_fields_ignored() { |
| 1108 | let hook = make_hook(); |
| 1109 | let input = br#"{"conversation_id": "c1", "unknown_field": "whatever", "extra": 42}"#; |
| 1110 | let event = hook.parse_event(HookType::SessionStart, input).unwrap(); |
| 1111 | assert_eq!(event.session_id, "c1"); |
| 1112 | } |
| 1113 | |
| 1114 | // verb_to_hook_type tests |
| 1115 |
nothing calls this directly
no test coverage detected