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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

543
544 #[test]
545 fn test_hook_verbs() {
546 let hook = make_hook();
547 let verbs = hook.hook_verbs();
548 assert_eq!(verbs.len(), 5);
549 assert!(verbs.contains(&"session-start"));
550 assert!(verbs.contains(&"session-end"));
551 assert!(verbs.contains(&"user-prompt"));
552 assert!(verbs.contains(&"post-tool"));
553 assert!(verbs.contains(&"pre-tool"));
554 }
555
556 #[test]
557 fn test_default() {

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected