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

Function test_hook_verbs

atomic-agent/src/hooks/copilot.rs:538–547  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

536
537 #[test]
538 fn test_hook_verbs() {
539 let hook = make_hook();
540 let verbs = hook.hook_verbs();
541 assert_eq!(verbs.len(), 5);
542 assert!(verbs.contains(&"session-start"));
543 assert!(verbs.contains(&"session-end"));
544 assert!(verbs.contains(&"user-prompt"));
545 assert!(verbs.contains(&"post-tool"));
546 assert!(verbs.contains(&"pre-tool"));
547 }
548
549 #[test]
550 fn test_default() {

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected