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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

866
867 #[test]
868 fn test_hook_verbs() {
869 let hook = make_hook();
870 let verbs = hook.hook_verbs();
871 assert_eq!(verbs.len(), 6);
872 assert!(verbs.contains(&"session-start"));
873 assert!(verbs.contains(&"session-end"));
874 assert!(verbs.contains(&"before-agent"));
875 assert!(verbs.contains(&"after-agent"));
876 assert!(verbs.contains(&"before-tool"));
877 assert!(verbs.contains(&"after-tool"));
878 }
879
880 // Verb mapping tests
881

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected