()
| 814 | |
| 815 | #[test] |
| 816 | fn test_supported_hooks() { |
| 817 | let hooks = make_hook().supported_hooks(); |
| 818 | assert_eq!(hooks.len(), 6); |
| 819 | assert!(hooks.contains(&HookType::SessionStart)); |
| 820 | assert!(hooks.contains(&HookType::SessionEnd)); |
| 821 | assert!(hooks.contains(&HookType::TurnStart)); |
| 822 | assert!(hooks.contains(&HookType::TurnEnd)); |
| 823 | assert!(hooks.contains(&HookType::PreToolUse)); |
| 824 | assert!(hooks.contains(&HookType::PostToolUse)); |
| 825 | } |
| 826 | |
| 827 | #[test] |
| 828 | fn test_hook_verbs() { |
nothing calls this directly
no test coverage detected