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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected