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

Function test_supported_hooks

atomic-agent/src/hooks/gemini_cli.rs:823–832  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

821
822 #[test]
823 fn test_supported_hooks() {
824 let hook = make_hook();
825 let supported = hook.supported_hooks();
826 assert!(supported.contains(&HookType::SessionStart));
827 assert!(supported.contains(&HookType::SessionEnd));
828 assert!(supported.contains(&HookType::TurnStart));
829 assert!(supported.contains(&HookType::TurnEnd));
830 assert!(supported.contains(&HookType::PreToolUse));
831 assert!(supported.contains(&HookType::PostToolUse));
832 }
833
834 #[test]
835 fn test_hook_verbs() {

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
supported_hooksMethod · 0.45

Tested by

no test coverage detected