()
| 346 | |
| 347 | #[test] |
| 348 | fn test_supported_hooks() { |
| 349 | let hooks = make_hook().supported_hooks(); |
| 350 | assert!(hooks.contains(&HookType::SessionStart)); |
| 351 | assert!(hooks.contains(&HookType::SessionEnd)); |
| 352 | assert!(hooks.contains(&HookType::TurnStart)); |
| 353 | assert!(hooks.contains(&HookType::TurnEnd)); |
| 354 | // Tool-use hooks are NOT in supported list |
| 355 | assert!(!hooks.contains(&HookType::PreToolUse)); |
| 356 | assert!(!hooks.contains(&HookType::PostToolUse)); |
| 357 | } |
| 358 | |
| 359 | // --- hook_verbs --- |
| 360 |
nothing calls this directly
no test coverage detected