()
| 440 | |
| 441 | #[test] |
| 442 | fn test_supported_hooks() { |
| 443 | let hooks = make_hook().supported_hooks(); |
| 444 | assert!(hooks.contains(&HookType::SessionStart)); |
| 445 | assert!(hooks.contains(&HookType::SessionEnd)); |
| 446 | assert!(hooks.contains(&HookType::TurnStart)); |
| 447 | assert!(hooks.contains(&HookType::TurnEnd)); |
| 448 | // Tool-use hooks are NOT in supported list |
| 449 | assert!(!hooks.contains(&HookType::PreToolUse)); |
| 450 | assert!(!hooks.contains(&HookType::PostToolUse)); |
| 451 | } |
| 452 | |
| 453 | // --- hook_verbs --- |
| 454 |
nothing calls this directly
no test coverage detected