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

Function test_supported_hooks

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

Source from the content-addressed store, hash-verified

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