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

Function test_hook_verbs

atomic-agent/src/hooks/claude_code/tests.rs:47–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46 #[test]
47 fn test_hook_verbs() {
48 let hook = make_hook();
49 let verbs = hook.hook_verbs();
50 assert_eq!(verbs.len(), 8);
51 assert!(verbs.contains(&"session-start"));
52 assert!(verbs.contains(&"session-end"));
53 assert!(verbs.contains(&"stop"));
54 assert!(verbs.contains(&"user-prompt-submit"));
55 assert!(verbs.contains(&"pre-task"));
56 assert!(verbs.contains(&"post-task"));
57 assert!(verbs.contains(&"post-todo"));
58 assert!(verbs.contains(&"post-tool"));
59 }
60
61 #[test]
62 fn test_default() {

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected