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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

826
827 #[test]
828 fn test_hook_verbs() {
829 let hook = make_hook();
830 let verbs = hook.hook_verbs();
831 assert_eq!(
832 verbs,
833 vec![
834 "session-start",
835 "session-end",
836 "user-prompt-submit",
837 "stop",
838 "pre-tool",
839 "post-tool"
840 ]
841 );
842 }
843
844 #[test]
845 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