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

Function test_supported_hooks

atomic-agent/src/hooks/devin.rs:456–464  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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