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

Function test_hook_verbs

atomic-agent/src/hooks/cursor.rs:826–836  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

824
825 #[test]
826 fn test_hook_verbs() {
827 let hook = make_hook();
828 let verbs = hook.hook_verbs();
829 assert_eq!(verbs.len(), 6);
830 assert!(verbs.contains(&"session-start"));
831 assert!(verbs.contains(&"session-end"));
832 assert!(verbs.contains(&"user-prompt-submit"));
833 assert!(verbs.contains(&"stop"));
834 assert!(verbs.contains(&"post-tool"));
835 assert!(verbs.contains(&"after-thought"));
836 }
837
838 #[test]
839 fn test_default() {

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected