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

Function test_parse_prompt_submit_no_prompt

atomic-agent/src/hooks/devin.rs:532–538  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
parse_eventMethod · 0.45

Tested by

no test coverage detected