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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected