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

Function test_supported_hooks

atomic-agent/src/hooks/agy.rs:453–460  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

451
452 #[test]
453 fn test_supported_hooks() {
454 let supported = make_hook().supported_hooks();
455 assert!(supported.contains(&HookType::TurnStart));
456 assert!(supported.contains(&HookType::TurnEnd));
457 assert!(supported.contains(&HookType::PostToolUse));
458 assert!(!supported.contains(&HookType::SessionStart));
459 assert!(!supported.contains(&HookType::PreToolUse));
460 }
461
462 #[test]
463 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