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

Function test_hook_verbs

atomic-agent/src/hooks/gemini_cli.rs:835–845  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

833
834 #[test]
835 fn test_hook_verbs() {
836 let hook = make_hook();
837 let verbs = hook.hook_verbs();
838 assert_eq!(verbs.len(), 6);
839 assert!(verbs.contains(&"session-start"));
840 assert!(verbs.contains(&"session-end"));
841 assert!(verbs.contains(&"before-agent"));
842 assert!(verbs.contains(&"after-agent"));
843 assert!(verbs.contains(&"before-tool"));
844 assert!(verbs.contains(&"after-tool"));
845 }
846
847 // Verb mapping tests
848

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected