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