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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

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