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

Function test_supported_hooks

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

Source from the content-addressed store, hash-verified

854
855 #[test]
856 fn test_supported_hooks() {
857 let hook = make_hook();
858 let supported = hook.supported_hooks();
859 assert!(supported.contains(&HookType::SessionStart));
860 assert!(supported.contains(&HookType::SessionEnd));
861 assert!(supported.contains(&HookType::TurnStart));
862 assert!(supported.contains(&HookType::TurnEnd));
863 assert!(supported.contains(&HookType::PreToolUse));
864 assert!(supported.contains(&HookType::PostToolUse));
865 }
866
867 #[test]
868 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