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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

461
462 #[test]
463 fn test_hook_verbs() {
464 let hook = make_hook();
465 let verbs = hook.hook_verbs();
466 assert_eq!(verbs.len(), 3);
467 assert!(verbs.contains(&"pre-invocation"));
468 assert!(verbs.contains(&"stop"));
469 assert!(verbs.contains(&"post-tool-use"));
470 }
471
472 #[test]
473 fn test_verbs_map_to_hook_types() {

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected