()
| 855 | |
| 856 | #[test] |
| 857 | fn test_supported_hooks() { |
| 858 | let hook = make_hook(); |
| 859 | let supported = hook.supported_hooks(); |
| 860 | assert!(supported.contains(&HookType::SessionStart)); |
| 861 | assert!(supported.contains(&HookType::SessionEnd)); |
| 862 | assert!(supported.contains(&HookType::TurnStart)); |
| 863 | assert!(supported.contains(&HookType::TurnEnd)); |
| 864 | assert!(supported.contains(&HookType::PreToolUse)); |
| 865 | assert!(supported.contains(&HookType::PostToolUse)); |
| 866 | } |
| 867 | |
| 868 | #[test] |
| 869 | fn test_hook_verbs() { |
nothing calls this directly
no test coverage detected