MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_parse_turn_start_no_prompt

Function test_parse_turn_start_no_prompt

atomic-agent/src/hooks/cursor.rs:941–946  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

939
940 #[test]
941 fn test_parse_turn_start_no_prompt() {
942 let hook = make_hook();
943 let input = br#"{"conversation_id": "c1"}"#;
944 let event = hook.parse_event(HookType::TurnStart, input).unwrap();
945 assert!(event.prompt.is_none());
946 }
947
948 #[test]
949 fn test_parse_turn_start_model_in_raw_json() {

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
parse_eventMethod · 0.45

Tested by

no test coverage detected