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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected