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

Function test_supported_hooks

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

Source from the content-addressed store, hash-verified

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