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

Function test_supported_hooks

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

Source from the content-addressed store, hash-verified

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