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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

1321
1322 #[test]
1323 fn test_hook_verbs() {
1324 let hook = make_hook();
1325 let verbs = hook.hook_verbs();
1326 assert_eq!(verbs.len(), 3);
1327 assert!(verbs.contains(&"pre-invocation"));
1328 assert!(verbs.contains(&"stop"));
1329 assert!(verbs.contains(&"post-tool-use"));
1330 }
1331
1332 #[test]
1333 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