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

Function test_parse_user_prompt_no_prompt

atomic-agent/src/hooks/copilot.rs:648–653  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

646
647 #[test]
648 fn test_parse_user_prompt_no_prompt() {
649 let hook = make_hook();
650 let input = br#"{"session_id": "s1"}"#;
651 let event = hook.parse_event(HookType::TurnStart, input).unwrap();
652 assert!(event.prompt.is_none());
653 }
654
655 #[test]
656 fn test_parse_user_prompt_with_model() {

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
parse_eventMethod · 0.45

Tested by

no test coverage detected