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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

840
841 #[test]
842 fn test_hook_verbs() {
843 let hook = make_hook();
844 let verbs = hook.hook_verbs();
845 assert_eq!(
846 verbs,
847 vec![
848 "session-start",
849 "session-end",
850 "user-prompt-submit",
851 "stop",
852 "pre-tool",
853 "post-tool"
854 ]
855 );
856 }
857
858 #[test]
859 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