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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected