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

Function test_supported_hooks

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

Source from the content-addressed store, hash-verified

1311
1312 #[test]
1313 fn test_supported_hooks() {
1314 let supported = make_hook().supported_hooks();
1315 assert!(supported.contains(&HookType::TurnStart));
1316 assert!(supported.contains(&HookType::TurnEnd));
1317 assert!(supported.contains(&HookType::PostToolUse));
1318 assert!(!supported.contains(&HookType::SessionStart));
1319 assert!(!supported.contains(&HookType::PreToolUse));
1320 }
1321
1322 #[test]
1323 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