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

Function test_hook_verbs

atomic-agent/src/hooks/devin.rs:467–475  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

465
466 #[test]
467 fn test_hook_verbs() {
468 let hook = make_hook();
469 let verbs = hook.hook_verbs();
470 assert!(verbs.contains(&"session-start"));
471 assert!(verbs.contains(&"session-end"));
472 assert!(verbs.contains(&"prompt-submit"));
473 assert!(verbs.contains(&"stop"));
474 assert!(verbs.contains(&"post-tool"));
475 }
476
477 #[test]
478 fn test_default() {

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected