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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected