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

Function test_hook_verbs

atomic-agent/src/hooks/codex.rs:684–697  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

682
683 #[test]
684 fn test_hook_verbs() {
685 let hook = make_hook();
686 let verbs = hook.hook_verbs();
687 assert_eq!(
688 verbs,
689 vec![
690 "session-start",
691 "user-prompt-submit",
692 "stop",
693 "pre-tool",
694 "post-tool"
695 ]
696 );
697 }
698
699 #[test]
700 fn test_verb_to_hook_type() {

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected