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:621–626  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

619
620 #[test]
621 fn test_repo_root_hints_missing_field() {
622 let hook = make_hook();
623 let input = br#"{"conversationId": "s1"}"#;
624 let event = hook.parse_event(HookType::TurnStart, input).unwrap();
625 assert!(hook.repo_root_hints(&event).is_none());
626 }
627
628 #[test]
629 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