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

Function test_repo_root_hints_missing_field

atomic-agent/src/hooks/agy.rs:624–629  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

622
623 #[test]
624 fn test_repo_root_hints_missing_field() {
625 let hook = make_hook();
626 let input = br#"{"conversationId": "s1"}"#;
627 let event = hook.parse_event(HookType::TurnStart, input).unwrap();
628 assert!(hook.repo_root_hints(&event).is_none());
629 }
630
631 #[test]
632 fn test_repo_root_hints_empty_array() {

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
parse_eventMethod · 0.45

Tested by

no test coverage detected