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

Function test_hook_verbs

atomic-agent/src/hooks/kiro.rs:496–505  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

494
495 #[test]
496 fn test_hook_verbs() {
497 let hook = make_hook();
498 let verbs = hook.hook_verbs();
499 assert_eq!(verbs.len(), 5);
500 assert!(verbs.contains(&"prompt-submit"));
501 assert!(verbs.contains(&"agent-stop"));
502 assert!(verbs.contains(&"pre-tool-use"));
503 assert!(verbs.contains(&"post-tool-use"));
504 assert!(verbs.contains(&"post-task"));
505 }
506
507 // --- install / uninstall are no-ops ---
508

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected