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

Function test_supported_hooks

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

Source from the content-addressed store, hash-verified

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