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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected